Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001508/0.001508, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001677/0.001677, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.232/1.232, allocations: 154.6 MB / 414.2 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.566e-05, allocations: 7.188 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003508/0.003534, allocations: 2.026 MB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.005594, allocations: 1.028 MB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.00571, allocations: 7.875 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.005776, allocations: 24.36 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.006097, allocations: 85.75 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.006605, allocations: 194.8 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.007004, allocations: 306.6 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.007151, allocations: 40.91 kB / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.007386, allocations: 151.6 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.007616, allocations: 116.4 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.007659, allocations: 20 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.008133, allocations: 280.5 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.00819, allocations: 47.78 kB / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.008301, allocations: 78.75 kB / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.00884, allocations: 370.7 kB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.008843, allocations: 0 / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.223e-06/0.008845, allocations: 0 / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.008851, allocations: 0 / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001233/0.01008, allocations: 0.5537 MB / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.01013, allocations: 12.97 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.0104, allocations: 53.59 kB / 0.5249 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.01084, allocations: 234.9 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.01086, allocations: 8.656 kB / 0.5251 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.0109, allocations: 16.38 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.01151, allocations: 227.1 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01152, allocations: 192 / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.01154, allocations: 11.31 kB / 0.5254 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01155, allocations: 7.938 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/0.01229, allocations: 198.9 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.01386, allocations: 0.8367 MB / 0.5264 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/0.01473, allocations: 229 kB / 0.5266 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.01509, allocations: 104.4 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01512, allocations: 3.938 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.01516, allocations: 38.88 kB / 0.5267 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.01516, allocations: 0 / 0.5267 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.00135/0.01651, allocations: 352 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.01658, allocations: 81.98 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.0169, allocations: 260.2 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.01693, allocations: 35.2 kB / 0.5274 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01708, allocations: 168.3 kB / 0.5276 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.01714, allocations: 51.53 kB / 0.5276 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.01723, allocations: 41.7 kB / 0.5277 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.01743, allocations: 331.9 kB / 0.528 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.01779, allocations: 96.97 kB / 0.5281 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.01819, allocations: 143.2 kB / 0.5282 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.01893, allocations: 233.8 kB / 0.5284 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.01894, allocations: 7.75 kB / 0.5285 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009758/0.01991, allocations: 303.8 kB / 0.5287 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01993, allocations: 4 kB / 0.5287 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.01995, allocations: 7.984 kB / 0.5288 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.01998, allocations: 7.938 kB / 0.5288 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.02032, allocations: 63.89 kB / 0.5288 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.02033, allocations: 4.531 kB / 0.5288 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.02059, allocations: 40.81 kB / 0.5289 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.02061, allocations: 9.062 kB / 0.5289 GB, free: 8.875 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (23): * Single equations (assignments): 23 * 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 0.000166/0.02078, allocations: 129.8 kB / 0.529 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.02092, allocations: 36.38 kB / 0.529 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.02187, allocations: 290.4 kB / 0.5293 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.02189, allocations: 8.469 kB / 0.5293 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.02189, allocations: 0.9375 kB / 0.5293 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.0219, allocations: 0 / 0.5293 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.02231, allocations: 205.1 kB / 0.5295 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02231, allocations: 1.25 kB / 0.5295 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.02261, allocations: 66.25 kB / 0.5296 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.02262, allocations: 0 / 0.5296 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.02264, allocations: 4 kB / 0.5296 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02264, allocations: 0 / 0.5296 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.02264, allocations: 3.938 kB / 0.5296 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.02363, allocations: 448.6 kB / 0.53 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.02368, allocations: 32.8 kB / 0.53 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.02372, allocations: 8 kB / 0.5301 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.02401, allocations: 25.78 kB / 0.5301 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.02409, allocations: 23.91 kB / 0.5301 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.02411, allocations: 8 kB / 0.5301 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002227/0.02433, allocations: 187.1 kB / 0.5303 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02433, allocations: 1.594 kB / 0.5303 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003908/0.02472, allocations: 59.88 kB / 0.5303 GB, free: 7.316 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002348/0.02496, allocations: 111.2 kB / 0.5304 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008298/0.02579, allocations: 230.2 kB / 0.5307 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02579, allocations: 0 / 0.5307 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.02618, allocations: 112.3 kB / 0.5308 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.02677, allocations: 81.94 kB / 0.5309 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009521/0.02772, allocations: 443.3 kB / 0.5313 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.02791, allocations: 140.6 kB / 0.5314 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.02806, allocations: 33.11 kB / 0.5314 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.02815, allocations: 24.5 kB / 0.5315 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.02815, allocations: 0 / 0.5315 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of Templates: time 0.01048/0.03863, allocations: 4.24 MB / 0.5356 GB, free: 2.113 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.928602325962856]