Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.0009113/0.0009113, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0008969/0.0008969, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.9453/0.9453, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04607/0.04607, allocations: 7.515 MB / 268.6 MB, free: 5.824 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.61e-07/7.61e-07, allocations: 0 / 339.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.777e-06/9.538e-06, allocations: 2.312 kB / 339.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.01221/0.01222, allocations: 20.23 MB / 360.2 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02173/0.03394, allocations: 33.38 MB / 393.5 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.03411, allocations: 15.88 kB / 393.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.03495, allocations: 0.5249 MB / 394.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007131/0.03566, allocations: 0.6453 MB / 394.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.05193, allocations: 11.48 MB / 406.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.05311, allocations: 1.487 MB / 407.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.05326, allocations: 86.53 kB / 407.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.05395, allocations: 0.8224 MB / 408.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.05428, allocations: 339 kB / 408.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.05433, allocations: 44 kB / 409 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1329/0.1872, allocations: 8.339 MB / 417.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1873, allocations: 134.8 kB / 417.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.1877, allocations: 217.3 kB / 417.7 MB, free: 35.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.1963, allocations: 5.039 MB / 422.7 MB, free: 35.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1963, allocations: 0 / 422.7 MB, free: 35.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1963, allocations: 0.5 kB / 422.7 MB, free: 35.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1963, allocations: 1.797 kB / 422.7 MB, free: 35.4 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002833/0.1991, allocations: 1.43 MB / 424.1 MB, free: 34.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1992, allocations: 14.12 kB / 424.1 MB, free: 34.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.1996, allocations: 171.5 kB / 424.3 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1999, allocations: 273.7 kB / 424.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.1999, allocations: 31.56 kB / 424.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.2, allocations: 35.81 kB / 424.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.2006, allocations: 0.5782 MB / 425.2 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2006, allocations: 2.156 kB / 425.2 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.2006, allocations: 15.38 kB / 425.2 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.2007, allocations: 24.7 kB / 425.3 MB, free: 33.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.201, allocations: 228.4 kB / 425.5 MB, free: 33.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.2022, allocations: 1.744 MB / 427.2 MB, free: 32.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.2026, allocations: 248.8 kB / 427.5 MB, free: 32.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2026, allocations: 99.92 kB / 427.6 MB, free: 32.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/0.2297, allocations: 10.67 MB / 438.2 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2297, allocations: 40.42 kB / 438.3 MB, free: 32.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 1.983e-06/0.2297, allocations: 0 / 438.3 MB, free: 32.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.002155/0.2319, allocations: 1.321 MB / 439.6 MB, free: 32.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.2319, allocations: 63.62 kB / 439.7 MB, free: 32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.232, allocations: 272.4 kB / 439.9 MB, free: 31.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.232, allocations: 33.17 kB / 440 MB, free: 31.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.2321, allocations: 242.5 kB / 440.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.2322, allocations: 295 kB / 440.5 MB, free: 31.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2323, allocations: 120.2 kB / 440.6 MB, free: 31.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.2324, allocations: 0.5383 MB / 441.1 MB, free: 30.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2324, allocations: 75.05 kB / 441.2 MB, free: 30.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2326, allocations: 250.5 kB / 441.5 MB, free: 30.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.2328, allocations: 375.5 kB / 441.8 MB, free: 30.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2328, allocations: 3.219 kB / 441.8 MB, free: 30.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0004215/0.2332, allocations: 450.1 kB / 442.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2333, allocations: 9.156 kB / 442.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2333, allocations: 3.594 kB / 442.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.2334, allocations: 64.02 kB / 442.3 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2336, allocations: 91.02 kB / 442.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.2572, allocations: 13.75 MB / 456.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2574, allocations: 23.86 kB / 456.2 MB, free: 18.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2575, allocations: 15.94 kB / 456.2 MB, free: 18.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.2576, allocations: 189.5 kB / 456.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.2576, allocations: 55.27 kB / 456.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/0.2585, allocations: 1.385 MB / 457.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002907/0.2588, allocations: 429.8 kB / 458.3 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2588, allocations: 0 / 458.3 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003053/0.2591, allocations: 0.715 MB / 459 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.26, allocations: 1.123 MB / 460.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.26, allocations: 0 / 460.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.2602, allocations: 99.12 kB / 460.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.2603, allocations: 39.02 kB / 460.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2603, allocations: 15.77 kB / 460.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004001/0.2607, allocations: 1.719 MB / 462 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2607, allocations: 7.938 kB / 462 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.2612, allocations: 0.6847 MB / 462.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.2612, allocations: 35.7 kB / 462.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.2613, allocations: 15.75 kB / 462.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2614, allocations: 19.61 kB / 462.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.2615, allocations: 50.52 kB / 462.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2615, allocations: 11.94 kB / 462.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.2616, allocations: 226.8 kB / 463 MB, free: 12.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2616, allocations: 2.844 kB / 463 MB, free: 12.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001733/0.2633, allocations: 0.9526 MB / 464 MB, free: 11.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001871/0.2652, allocations: 1.415 MB / 465.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000517/0.2657, allocations: 0.6775 MB / 466.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2657, allocations: 0 / 466.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2659, allocations: 437.2 kB / 466.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.2669, allocations: 412.8 kB / 466.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.268, allocations: 0.9717 MB / 467.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.268, allocations: 140.3 kB / 468 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.2683, allocations: 150.4 kB / 468.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.2686, allocations: 317.5 kB / 468.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2686, allocations: 0 / 468.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of Templates: time 0.03883/0.3075, allocations: 41.06 MB / 0.4976 GB, free: 15.09 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.982064152136445]