Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.715/0.715, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.487e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001089/0.001104, allocations: 0.5832 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.002022, allocations: 0.9993 MB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.002038, allocations: 0 / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.002052, allocations: 0 / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.002636, allocations: 95.7 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.516e-05/0.002661, allocations: 15.92 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.105e-05/0.002702, allocations: 7.984 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.002738, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.002763, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.002984, allocations: 35.97 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.002993, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.00312, allocations: 83.78 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.003128, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.003142, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003269, allocations: 83.2 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003271, allocations: 0 / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003272, allocations: 3.938 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003276, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002225/0.003498, allocations: 260.7 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.003538, allocations: 13.47 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.308e-05/0.003561, allocations: 34.69 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.003578, allocations: 0.9375 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.003644, allocations: 109.8 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.003652, allocations: 384 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.003658, allocations: 384 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.003727, allocations: 34.27 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003733, allocations: 192 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.003741, allocations: 3.938 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.003746, allocations: 3.984 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.468e-05/0.00376, allocations: 8 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.004048, allocations: 362.6 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.004106, allocations: 169.1 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.004129, allocations: 84.17 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.004147, allocations: 79.28 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.004185, allocations: 109.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.004185, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.642e-05/0.004242, allocations: 37.58 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.004288, allocations: 130.7 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.004365, allocations: 93.86 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.004374, allocations: 25.7 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.004405, allocations: 96.06 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.004408, allocations: 3.938 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.004432, allocations: 17.7 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.004508, allocations: 310.8 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.004517, allocations: 4 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-06/0.004521, allocations: 0 / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.004543, allocations: 4.859 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.004545, allocations: 4 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.704e-05/0.004632, allocations: 45.58 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.004643, allocations: 12.08 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.004648, allocations: 0 / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.00466, allocations: 4 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.004676, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.00468, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-06/0.004689, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.004694, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.004756, allocations: 189.1 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.004792, allocations: 108.9 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.004824, allocations: 108.2 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/0.004867, allocations: 192.2 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-05/0.004909, allocations: 180.2 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/0.004948, allocations: 176.3 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.005088, allocations: 384.2 kB / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.00511, allocations: 101 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.005135, allocations: 105 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/0.005177, allocations: 180.2 kB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.005218, allocations: 176.3 kB / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.334e-05/0.005262, allocations: 188.2 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.402e-05/0.005306, allocations: 176.3 kB / 0.6241 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.479e-05/0.005401, allocations: 311.7 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.00543, allocations: 112.9 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.005476, allocations: 184.2 kB / 0.6247 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.005565, allocations: 105 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.00564, allocations: 180.3 kB / 0.625 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.005679, allocations: 104.9 kB / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.005733, allocations: 83.27 kB / 0.6251 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005733, allocations: 0 / 0.6251 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002246/0.005957, allocations: 19.94 kB / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004305/0.006388, allocations: 0.8651 MB / 0.626 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.314e-05/0.006441, allocations: 3.938 kB / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.006443, allocations: 0 / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.006445, allocations: 4 kB / 0.626 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.006674, allocations: 463.6 kB / 0.6264 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.007033, allocations: 245.5 kB / 0.6267 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.007068, allocations: 67.34 kB / 0.6267 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.007089, allocations: 4 kB / 0.6268 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.007113, allocations: 8.5 kB / 0.6268 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.007113, allocations: 0 / 0.6268 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02116, allocations: 2.203 MB / 0.6289 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.439, allocations: 1.812 kB / 0.6289 GB, free: 2.309 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.107819435186684] Failed to read output from testmodel.py, exit status != 0: 7.519710407592356 7.528968078 7.523886464 Calling exit ...