Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.00194/0.00194, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002234/0.002234, allocations: 214.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] 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.05388/0.05388, allocations: 9.13 MB / 321.6 MB, free: 10.32 MB / 254.1 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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 447 MB, free: 392 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1139, allocations: 54.96 MB / 0.4902 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.4248/0.5387, allocations: 113.9 MB / 0.6015 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1266/0.6653, allocations: 97.16 MB / 0.6963 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007995/0.6661, allocations: 7.938 kB / 0.6963 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.6689, allocations: 0.9241 MB / 0.6972 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.672, allocations: 1.105 MB / 0.6983 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3927/1.065, allocations: 30.42 MB / 0.728 GB, free: 24.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002038/1.067, allocations: 1.384 MB / 0.7294 GB, free: 24.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/1.067, allocations: 79.05 kB / 0.7295 GB, free: 24.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02453/1.092, allocations: 12.21 MB / 0.7414 GB, free: 24.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/1.093, allocations: 375.8 kB / 0.7417 GB, free: 24.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/1.093, allocations: 40.94 kB / 0.7418 GB, free: 24.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04842/1.141, allocations: 23.63 MB / 0.7649 GB, free: 24.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/1.141, allocations: 123.9 kB / 0.765 GB, free: 24.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/1.142, allocations: 252.7 kB / 0.7652 GB, free: 24.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04852/1.191, allocations: 12.31 MB / 0.7772 GB, free: 23.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.191, allocations: 0 / 0.7772 GB, free: 23.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.685e-06/1.191, allocations: 3.594 kB / 0.7772 GB, free: 23.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.191, allocations: 4 kB / 0.7772 GB, free: 23.47 MB / 0.545 GB 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.008902/1.2, allocations: 2.586 MB / 0.7798 GB, free: 21.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.2, allocations: 10.72 kB / 0.7798 GB, free: 21.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006759/1.2, allocations: 90.47 kB / 0.7799 GB, free: 21.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/1.201, allocations: 284.2 kB / 0.7801 GB, free: 21.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/1.201, allocations: 34 kB / 0.7802 GB, free: 21.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/1.201, allocations: 31 kB / 0.7802 GB, free: 21.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.202, allocations: 0.7639 MB / 0.7809 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.202, allocations: 0 / 0.7809 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/1.202, allocations: 19 kB / 0.781 GB, free: 21.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.202, allocations: 12.55 kB / 0.781 GB, free: 21.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/1.204, allocations: 0.5516 MB / 0.7815 GB, free: 21.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.205, allocations: 1.644 MB / 0.7831 GB, free: 20.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.207, allocations: 479.8 kB / 0.7836 GB, free: 20.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/1.207, allocations: 320.2 kB / 0.7839 GB, free: 20.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1992/1.406, allocations: 44.04 MB / 0.8269 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/1.406, allocations: 41.58 kB / 0.8269 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.597e-06/1.406, allocations: 0 / 0.8269 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006628/1.413, allocations: 2.235 MB / 0.8291 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.413, allocations: 59.16 kB / 0.8292 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/1.413, allocations: 230.4 kB / 0.8294 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/1.413, allocations: 30.56 kB / 0.8294 GB, free: 484 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.413, allocations: 183.5 kB / 0.8296 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.414, allocations: 289.7 kB / 0.8299 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.414, allocations: 99.2 kB / 0.83 GB, free: 4 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.414, allocations: 348 kB / 0.8303 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/1.415, allocations: 287.4 kB / 0.8306 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/1.415, allocations: 402.9 kB / 0.831 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.416, allocations: 0.729 MB / 0.8317 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.416, allocations: 0 / 0.8317 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0016/1.418, allocations: 0.8077 MB / 0.8325 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.418, allocations: 5.875 kB / 0.8325 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.418, allocations: 4.438 kB / 0.8325 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/1.418, allocations: 69.17 kB / 0.8325 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/1.419, allocations: 98 kB / 0.8326 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07539/1.494, allocations: 16.96 MB / 0.8492 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/1.495, allocations: 35.94 kB / 0.8492 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/1.495, allocations: 15.88 kB / 0.8492 GB, free: 13.62 MB / 0.5919 GB 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.0003776/1.495, allocations: 202.7 kB / 0.8494 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.495, allocations: 43.72 kB / 0.8495 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/1.498, allocations: 1.581 MB / 0.851 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.498, allocations: 8 kB / 0.851 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.498, allocations: 3.938 kB / 0.851 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/1.499, allocations: 1.176 MB / 0.8522 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/1.502, allocations: 1.498 MB / 0.8536 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.502, allocations: 0 / 0.8536 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/1.502, allocations: 79.25 kB / 0.8537 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/1.503, allocations: 45.77 kB / 0.8538 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.503, allocations: 11.62 kB / 0.8538 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.504, allocations: 1.304 MB / 0.855 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.504, allocations: 0 / 0.855 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/1.506, allocations: 1.205 MB / 0.8562 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.506, allocations: 35.73 kB / 0.8562 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/1.506, allocations: 15.83 kB / 0.8563 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/1.507, allocations: 27.78 kB / 0.8563 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.507, allocations: 43.36 kB / 0.8563 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.507, allocations: 15.98 kB / 0.8563 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002759/1.507, allocations: 221.4 kB / 0.8566 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.507, allocations: 4.766 kB / 0.8566 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01234/1.519, allocations: 3.573 MB / 0.8601 GB, free: 4.16 MB / 0.5919 GB 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 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02343/1.543, allocations: 4.589 MB / 0.8645 GB, free: 196 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.545, allocations: 0.9141 MB / 0.8654 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/1.545, allocations: 0.875 kB / 0.8654 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/1.546, allocations: 486.3 kB / 0.8659 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.548, allocations: 374 kB / 0.8662 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/1.551, allocations: 1.177 MB / 0.8674 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/1.552, allocations: 250.3 kB / 0.8676 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005895/1.552, allocations: 157.9 kB / 0.8678 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.552, allocations: 41.94 kB / 0.8678 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/1.552, allocations: 0 / 0.8678 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.4585/2.011, allocations: 126.9 MB / 0.9918 GB, free: 332.3 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.955541526898742] Failed to read output from testmodel.py, exit status != 0: 2.0194934401661158 2.034015357 0.84043136 Calling exit ...