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.001447/0.001447, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001695/0.001695, allocations: 218.4 kB / 22.3 MB, free: 5.281 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.54/1.54, allocations: 230.6 MB / 256.1 MB, free: 7.758 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.05323/0.05323, allocations: 9.138 MB / 321.6 MB, free: 10.18 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.002026/0.002026, allocations: 63.95 kB / 447.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09912, allocations: 54.96 MB / 0.4903 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3326/0.4317, allocations: 113.9 MB / 0.6016 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1103/0.542, allocations: 97.16 MB / 0.6965 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.543, allocations: 7.938 kB / 0.6965 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.5458, allocations: 0.9221 MB / 0.6974 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.5488, allocations: 1.106 MB / 0.6984 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3491/0.8979, allocations: 30.42 MB / 0.7281 GB, free: 23.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.8998, allocations: 1.382 MB / 0.7295 GB, free: 23.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.9, allocations: 79.08 kB / 0.7296 GB, free: 23.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02136/0.9213, allocations: 12.34 MB / 0.7416 GB, free: 23.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.922, allocations: 375.8 kB / 0.742 GB, free: 23.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.922, allocations: 42.59 kB / 0.742 GB, free: 23.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04193/0.964, allocations: 23.63 MB / 0.7651 GB, free: 23.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.9643, allocations: 124.2 kB / 0.7652 GB, free: 23.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.9649, allocations: 255.2 kB / 0.7655 GB, free: 23.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03553/1, allocations: 12.32 MB / 0.7775 GB, free: 23.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1, allocations: 2.938 kB / 0.7775 GB, free: 23.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/1, allocations: 0 / 0.7775 GB, free: 23.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.131e-05/1, allocations: 0 / 0.7775 GB, free: 23.1 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.007361/1.008, allocations: 2.586 MB / 0.78 GB, free: 21.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.008, allocations: 14.88 kB / 0.78 GB, free: 21.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/1.009, allocations: 86.47 kB / 0.7801 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.009, allocations: 290.7 kB / 0.7804 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/1.009, allocations: 29.12 kB / 0.7804 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/1.009, allocations: 32.59 kB / 0.7804 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/1.01, allocations: 0.7656 MB / 0.7812 GB, free: 20.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.01, allocations: 5.656 kB / 0.7812 GB, free: 20.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/1.01, allocations: 15.39 kB / 0.7812 GB, free: 20.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.01, allocations: 15.86 kB / 0.7812 GB, free: 20.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.012, allocations: 0.5502 MB / 0.7818 GB, free: 20.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/1.013, allocations: 1.636 MB / 0.7834 GB, free: 19.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/1.014, allocations: 483.9 kB / 0.7838 GB, free: 19.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/1.015, allocations: 324.7 kB / 0.7841 GB, free: 19.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2022/1.217, allocations: 44.04 MB / 0.8271 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.217, allocations: 34.78 kB / 0.8272 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.655e-06/1.217, allocations: 0 / 0.8272 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006442/1.224, allocations: 2.245 MB / 0.8294 GB, free: 116 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/1.224, allocations: 60.03 kB / 0.8294 GB, free: 44 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/1.224, allocations: 229.7 kB / 0.8296 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/1.224, allocations: 33.58 kB / 0.8297 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/1.224, allocations: 187.4 kB / 0.8298 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/1.224, allocations: 282.7 kB / 0.8301 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.224, allocations: 96.61 kB / 0.8302 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.225, allocations: 359.4 kB / 0.8305 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/1.225, allocations: 280.6 kB / 0.8308 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/1.226, allocations: 403.2 kB / 0.8312 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/1.227, allocations: 0.7264 MB / 0.8319 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.227, allocations: 0 / 0.8319 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001554/1.229, allocations: 0.8094 MB / 0.8327 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.229, allocations: 9.875 kB / 0.8327 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.229, allocations: 4.5 kB / 0.8327 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/1.229, allocations: 63.67 kB / 0.8328 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/1.229, allocations: 94.81 kB / 0.8329 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07511/1.304, allocations: 16.97 MB / 0.8494 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/1.305, allocations: 27.78 kB / 0.8495 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.305, allocations: 23.8 kB / 0.8495 GB, free: 12.98 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.0003397/1.305, allocations: 203.6 kB / 0.8497 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.305, allocations: 43.72 kB / 0.8497 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/1.308, allocations: 1.589 MB / 0.8513 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.308, allocations: 10.95 kB / 0.8513 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.308, allocations: 3.938 kB / 0.8513 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/1.309, allocations: 1.178 MB / 0.8524 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/1.312, allocations: 1.484 MB / 0.8539 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.312, allocations: 4.031 kB / 0.8539 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/1.312, allocations: 81.94 kB / 0.854 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/1.312, allocations: 40.56 kB / 0.854 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/1.312, allocations: 7.875 kB / 0.854 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/1.313, allocations: 1.298 MB / 0.8553 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.313, allocations: 4.031 kB / 0.8553 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.316, allocations: 1.201 MB / 0.8565 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/1.316, allocations: 35.73 kB / 0.8565 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/1.316, allocations: 18.27 kB / 0.8565 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/1.316, allocations: 28.34 kB / 0.8565 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.316, allocations: 42.73 kB / 0.8566 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/1.316, allocations: 15.86 kB / 0.8566 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000264/1.317, allocations: 222.6 kB / 0.8568 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.317, allocations: 1.531 kB / 0.8568 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01162/1.328, allocations: 3.573 MB / 0.8603 GB, free: 3.52 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.02125/1.349, allocations: 4.596 MB / 0.8648 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.351, allocations: 0.9211 MB / 0.8657 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.351, allocations: 0.6562 kB / 0.8657 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/1.352, allocations: 475.7 kB / 0.8661 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.354, allocations: 380.7 kB / 0.8665 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/1.357, allocations: 1.174 MB / 0.8676 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/1.357, allocations: 257.9 kB / 0.8679 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004415/1.357, allocations: 154.5 kB / 0.868 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.357, allocations: 40.5 kB / 0.8681 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of SimCode: time 5.52e-07/1.357, allocations: 0 / 0.8681 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.3986/1.756, allocations: 126 MB / 0.9911 GB, free: 332 MB / 0.7012 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.416293362155557] Failed to read output from testmodel.py, exit status != 0: 1.763992141932249 1.7784320439999999 0.775151527 Calling exit ...