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.0008196/0.0008196, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008025/0.0008025, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.842/0.842, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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-531:686: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-531:694: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 0.702/0.702, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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 179] 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 1.844e-06/1.844e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.899e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002288/0.002317, allocations: 1.947 MB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.003976, allocations: 1.317 MB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.004044, allocations: 0 / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.004486, allocations: 239 kB / 0.6228 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.005199, allocations: 457 kB / 0.6232 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.041e-06/0.005205, allocations: 4 kB / 0.6232 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.005465, allocations: 402.3 kB / 0.6236 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.005503, allocations: 12.59 kB / 0.6236 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.005638, allocations: 191.4 kB / 0.6238 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.005794, allocations: 187.3 kB / 0.6239 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.005815, allocations: 20 kB / 0.624 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.006138, allocations: 279.5 kB / 0.6242 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.006334, allocations: 383.1 kB / 0.6246 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.006458, allocations: 199.4 kB / 0.6248 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.00703, allocations: 0.8566 MB / 0.6256 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.007031, allocations: 0 / 0.6256 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.007033, allocations: 4 kB / 0.6256 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.007038, allocations: 0 / 0.6256 GB, free: 6.691 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007101/0.007749, allocations: 0.8801 MB / 0.6265 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.007775, allocations: 8.031 kB / 0.6265 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.008081, allocations: 132.4 kB / 0.6266 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.008694, allocations: 0.8613 MB / 0.6275 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.008708, allocations: 12.38 kB / 0.6275 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.008727, allocations: 16.38 kB / 0.6275 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.009272, allocations: 0.6275 MB / 0.6281 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00928, allocations: 192 / 0.6281 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.009298, allocations: 8.375 kB / 0.6281 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.009305, allocations: 11.92 kB / 0.6281 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.0101, allocations: 1.113 MB / 0.6292 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.01179, allocations: 1.899 MB / 0.6311 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.01223, allocations: 330.7 kB / 0.6314 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.01243, allocations: 228.7 kB / 0.6316 GB, free: 476 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.01246, allocations: 23.98 kB / 0.6316 GB, free: 452 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.01248, allocations: 34.56 kB / 0.6317 GB, free: 408 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.01248, allocations: 0 / 0.6317 GB, free: 408 kB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0007055/0.01318, allocations: 0.6939 MB / 0.6323 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.01321, allocations: 67.33 kB / 0.6324 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.01489, allocations: 2.07 MB / 0.6344 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01491, allocations: 25.7 kB / 0.6344 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.01507, allocations: 320.3 kB / 0.6347 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.0151, allocations: 71.41 kB / 0.6348 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.01517, allocations: 57.66 kB / 0.6349 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.01523, allocations: 318 kB / 0.6352 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.01559, allocations: 0.531 MB / 0.6357 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.01597, allocations: 0.5566 MB / 0.6362 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.01652, allocations: 0.766 MB / 0.637 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01652, allocations: 0 / 0.637 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008347/0.01736, allocations: 1.209 MB / 0.6382 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.01737, allocations: 4 kB / 0.6382 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.01737, allocations: 0 / 0.6382 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01738, allocations: 4 kB / 0.6382 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01754, allocations: 71.77 kB / 0.6382 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01754, allocations: 0 / 0.6382 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01768, allocations: 35.77 kB / 0.6383 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01769, allocations: 15.98 kB / 0.6383 GB, free: 9.539 MB / 0.6042 GB 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.0001777/0.01787, allocations: 274.7 kB / 0.6386 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.01793, allocations: 71.56 kB / 0.6386 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.01843, allocations: 0.5365 MB / 0.6391 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01844, allocations: 4 kB / 0.6391 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01844, allocations: 7.938 kB / 0.6392 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01844, allocations: 3.938 kB / 0.6392 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.02038, allocations: 2.45 MB / 0.6416 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02038, allocations: 4 kB / 0.6416 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02049, allocations: 55.89 kB / 0.6416 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.02049, allocations: 8 kB / 0.6416 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.02051, allocations: 4 kB / 0.6416 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.02051, allocations: 15.88 kB / 0.6416 GB, free: 6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.02052, allocations: 8.281 kB / 0.6416 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.02102, allocations: 0.6586 MB / 0.6423 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.02109, allocations: 79.48 kB / 0.6424 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.02114, allocations: 12 kB / 0.6424 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.02128, allocations: 27.92 kB / 0.6424 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.02131, allocations: 31.84 kB / 0.6424 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.02132, allocations: 8 kB / 0.6424 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009365/0.02226, allocations: 1.585 MB / 0.644 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.02226, allocations: 0 / 0.644 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003112/0.02257, allocations: 171.9 kB / 0.6441 GB, free: 3.355 MB / 0.6042 GB 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.0002182/0.02279, allocations: 179 kB / 0.6443 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.02341, allocations: 0.7658 MB / 0.6451 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02342, allocations: 0 / 0.6451 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.02362, allocations: 228.9 kB / 0.6453 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.02408, allocations: 169.7 kB / 0.6454 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.02552, allocations: 1.41 MB / 0.6468 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.02573, allocations: 332.6 kB / 0.6471 GB, free: 172 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.02582, allocations: 44.48 kB / 0.6472 GB, free: 128 kB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.02583, allocations: 0 / 0.6472 GB, free: 128 kB / 0.6042 GB Notification: Performance of Templates: time 0.006977/0.0328, allocations: 8.913 MB / 0.6559 GB, free: 7.281 MB / 0.6198 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.190919877961278] Failed to read output from testmodel.py, exit status != 0: 0.03857126925140619 0.045997644000000004 0.037371949 Calling exit ...