Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001698/0.001698, allocations: 85.48 kB / 19.44 MB, free: 344 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.00199/0.00199, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.336/1.336, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.338e-06/4.338e-06, allocations: 3.984 kB / 0.5196 GB, free: 1.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.283e-05, allocations: 5.078 kB / 0.5196 GB, free: 1.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003886/0.003919, allocations: 2.058 MB / 0.5216 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.006833, allocations: 1.354 MB / 0.523 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.006997, allocations: 0 / 0.523 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.00774, allocations: 240.6 kB / 0.5232 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.009019, allocations: 455.8 kB / 0.5236 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.364e-06/0.009027, allocations: 1.094 kB / 0.5236 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.009509, allocations: 406.3 kB / 0.524 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.009562, allocations: 8.594 kB / 0.524 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.009794, allocations: 188.1 kB / 0.5242 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.01008, allocations: 183.4 kB / 0.5244 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.01013, allocations: 25.03 kB / 0.5244 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.01073, allocations: 283.5 kB / 0.5247 GB, free: 12.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.01114, allocations: 392.7 kB / 0.525 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.0114, allocations: 195.5 kB / 0.5252 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.01258, allocations: 0.8526 MB / 0.5261 GB, free: 10.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01258, allocations: 0 / 0.5261 GB, free: 10.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01258, allocations: 0 / 0.5261 GB, free: 10.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.01259, allocations: 1.156 kB / 0.5261 GB, free: 10.85 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001533/0.01413, allocations: 1.038 MB / 0.5271 GB, free: 9.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001681/0.01429, allocations: 8.719 kB / 0.5271 GB, free: 9.762 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.01491, allocations: 137.6 kB / 0.5272 GB, free: 9.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.01575, allocations: 0.4893 MB / 0.5277 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.01577, allocations: 13.06 kB / 0.5277 GB, free: 9.098 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.0158, allocations: 12.38 kB / 0.5277 GB, free: 9.086 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.01628, allocations: 201.3 kB / 0.5279 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01629, allocations: 192 / 0.5279 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.01631, allocations: 4.375 kB / 0.5279 GB, free: 8.883 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01632, allocations: 7.938 kB / 0.5279 GB, free: 8.875 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.01696, allocations: 262.7 kB / 0.5282 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.01913, allocations: 1.111 MB / 0.5293 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.0198, allocations: 224.7 kB / 0.5295 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.02006, allocations: 99.64 kB / 0.5296 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.02012, allocations: 27.92 kB / 0.5296 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.02015, allocations: 44.58 kB / 0.5296 GB, free: 7.066 MB / 458.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.02015, allocations: 0 / 0.5296 GB, free: 7.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.001109/0.02126, allocations: 333.5 kB / 0.5299 GB, free: 6.734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.02132, allocations: 59.33 kB / 0.53 GB, free: 6.664 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.02314, allocations: 1.062 MB / 0.531 GB, free: 5.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.02318, allocations: 40.12 kB / 0.5311 GB, free: 5.547 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.02362, allocations: 423 kB / 0.5315 GB, free: 5.129 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.02369, allocations: 63.44 kB / 0.5315 GB, free: 5.066 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.02384, allocations: 71.34 kB / 0.5316 GB, free: 4.988 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.0241, allocations: 496.4 kB / 0.5321 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.02438, allocations: 101 kB / 0.5322 GB, free: 4.398 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.02469, allocations: 139.2 kB / 0.5323 GB, free: 4.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.02525, allocations: 235.6 kB / 0.5325 GB, free: 4.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02525, allocations: 4 kB / 0.5325 GB, free: 4.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008655/0.02612, allocations: 368.8 kB / 0.5329 GB, free: 3.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.02614, allocations: 4 kB / 0.5329 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02614, allocations: 0 / 0.5329 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.02616, allocations: 2.438 kB / 0.5329 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.0265, allocations: 67.83 kB / 0.533 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.02651, allocations: 3.984 kB / 0.533 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.02685, allocations: 43.77 kB / 0.533 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.02688, allocations: 8 kB / 0.533 GB, free: 3.527 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 30 * 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.0001894/0.02707, allocations: 170.4 kB / 0.5332 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.0272, allocations: 83.47 kB / 0.5333 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.02796, allocations: 279.6 kB / 0.5335 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.02797, allocations: 5.156 kB / 0.5335 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.02798, allocations: 7.922 kB / 0.5335 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02798, allocations: 0 / 0.5335 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.03053, allocations: 1.35 MB / 0.5349 GB, free: 1.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.03053, allocations: 4 kB / 0.5349 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.0308, allocations: 44.5 kB / 0.5349 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.03081, allocations: 8.656 kB / 0.5349 GB, free: 1.453 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.03084, allocations: 12.56 kB / 0.5349 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.03085, allocations: 11.92 kB / 0.5349 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.03086, allocations: 9.469 kB / 0.5349 GB, free: 1.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.03174, allocations: 487.6 kB / 0.5354 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.03194, allocations: 79.5 kB / 0.5355 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.03203, allocations: 9.078 kB / 0.5355 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.03233, allocations: 19.94 kB / 0.5355 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.03239, allocations: 32.5 kB / 0.5355 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.03241, allocations: 8 kB / 0.5356 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000985/0.0334, allocations: 0.7119 MB / 0.5362 GB, free: 15.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0334, allocations: 0 / 0.5362 GB, free: 15.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006089/0.03401, allocations: 171.8 kB / 0.5364 GB, free: 15.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0003616/0.03437, allocations: 179.8 kB / 0.5366 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.03505, allocations: 240 kB / 0.5368 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.03505, allocations: 0 / 0.5368 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.03533, allocations: 109.8 kB / 0.5369 GB, free: 15.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.03613, allocations: 191.3 kB / 0.5371 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.03844, allocations: 1.367 MB / 0.5384 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.03893, allocations: 388.1 kB / 0.5388 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.03916, allocations: 74.14 kB / 0.5389 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.03929, allocations: 36.5 kB / 0.5389 GB, free: 13.14 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03929, allocations: 1.031 kB / 0.5389 GB, free: 13.14 MB / 474.7 MB Notification: Performance of Templates: time 0.02218/0.06147, allocations: 10.51 MB / 0.5492 GB, free: 2.984 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.270994395017624]