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.001706/0.001706, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00181/0.00181, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.988 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.05135/0.05135, allocations: 9.127 MB / 321.6 MB, free: 10.52 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.001899/0.001899, allocations: 67.89 kB / 447.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 54.94 MB / 0.4903 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.369/0.4911, allocations: 128.2 MB / 0.6155 GB, free: 1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1263/0.6174, allocations: 109.9 MB / 0.7228 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.618, allocations: 7.938 kB / 0.7228 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.6209, allocations: 1.203 MB / 0.724 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.6237, allocations: 1.277 MB / 0.7252 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.3537/0.9774, allocations: 30.64 MB / 0.7551 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.9789, allocations: 1.392 MB / 0.7565 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.9791, allocations: 89.61 kB / 0.7566 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01585/0.995, allocations: 12.41 MB / 0.7687 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.9955, allocations: 394.4 kB / 0.7691 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.9956, allocations: 42.12 kB / 0.7691 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05473/1.05, allocations: 34.56 MB / 0.8029 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/1.051, allocations: 123.8 kB / 0.803 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/1.051, allocations: 304.6 kB / 0.8033 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03962/1.091, allocations: 14.16 MB / 0.8171 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.091, allocations: 0 / 0.8171 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/1.091, allocations: 0 / 0.8171 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.091, allocations: 0 / 0.8171 GB, free: 11.52 MB / 0.5762 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.006466/1.097, allocations: 2.614 MB / 0.8197 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.097, allocations: 12.03 kB / 0.8197 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/1.098, allocations: 83.64 kB / 0.8198 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/1.098, allocations: 286 kB / 0.82 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.098, allocations: 27.34 kB / 0.82 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/1.098, allocations: 36.77 kB / 0.8201 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/1.1, allocations: 0.6039 MB / 0.8207 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.1, allocations: 0 / 0.8207 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/1.1, allocations: 18.12 kB / 0.8207 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/1.1, allocations: 20.69 kB / 0.8207 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/1.101, allocations: 0.5625 MB / 0.8213 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/1.104, allocations: 2.528 MB / 0.8237 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.105, allocations: 481.8 kB / 0.8242 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/1.105, allocations: 324.4 kB / 0.8245 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.213/1.318, allocations: 43.9 MB / 0.8674 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.319, allocations: 38.78 kB / 0.8674 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=79): time 5.952e-06/1.319, allocations: 4 kB / 0.8674 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.006328/1.325, allocations: 2.236 MB / 0.8696 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.325, allocations: 60.5 kB / 0.8697 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/1.325, allocations: 257 kB / 0.8699 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.325, allocations: 33.7 kB / 0.8699 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/1.325, allocations: 181.5 kB / 0.8701 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/1.326, allocations: 283.2 kB / 0.8704 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.326, allocations: 98.11 kB / 0.8705 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.326, allocations: 350.7 kB / 0.8708 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/1.326, allocations: 285.3 kB / 0.8711 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/1.327, allocations: 412 kB / 0.8715 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.328, allocations: 0.7195 MB / 0.8722 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.328, allocations: 8 kB / 0.8722 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001554/1.33, allocations: 0.8092 MB / 0.873 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.33, allocations: 5.688 kB / 0.873 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.33, allocations: 4 kB / 0.873 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/1.33, allocations: 62.58 kB / 0.873 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/1.331, allocations: 101.3 kB / 0.8731 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07237/1.403, allocations: 17.01 MB / 0.8897 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/1.403, allocations: 31.97 kB / 0.8898 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/1.403, allocations: 16.58 kB / 0.8898 GB, free: 2.402 MB / 0.6387 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.0003126/1.404, allocations: 199.1 kB / 0.89 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.404, allocations: 47.72 kB / 0.89 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/1.406, allocations: 1.587 MB / 0.8916 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.406, allocations: 12 kB / 0.8916 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.406, allocations: 0.6875 kB / 0.8916 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/1.408, allocations: 1.173 MB / 0.8927 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/1.41, allocations: 1.608 MB / 0.8943 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.41, allocations: 0 / 0.8943 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.411, allocations: 86.94 kB / 0.8944 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/1.411, allocations: 44.14 kB / 0.8944 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.411, allocations: 20.02 kB / 0.8944 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/1.412, allocations: 1.313 MB / 0.8957 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.412, allocations: 0 / 0.8957 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.414, allocations: 1.212 MB / 0.8969 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.414, allocations: 35.75 kB / 0.8969 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/1.414, allocations: 19.95 kB / 0.897 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/1.415, allocations: 28.52 kB / 0.897 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.415, allocations: 43.92 kB / 0.897 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.415, allocations: 15.98 kB / 0.897 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002917/1.415, allocations: 239 kB / 0.8973 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/1.415, allocations: 0 / 0.8973 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009507/1.425, allocations: 3.575 MB / 0.9008 GB, free: 6.84 MB / 0.6544 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.01744/1.442, allocations: 4.608 MB / 0.9053 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.444, allocations: 0.9183 MB / 0.9062 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.444, allocations: 0 / 0.9062 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000921/1.445, allocations: 487.6 kB / 0.9066 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.447, allocations: 394.6 kB / 0.907 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.449, allocations: 1.175 MB / 0.9082 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.45, allocations: 0.8526 MB / 0.909 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004394/1.45, allocations: 157.2 kB / 0.9091 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.45, allocations: 46.34 kB / 0.9092 GB, free: 14.64 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/1.45, allocations: 4 kB / 0.9092 GB, free: 14.63 MB / 0.67 GB Notification: Performance of Templates: time 0.3818/1.832, allocations: 126.5 MB / 1.033 GB, free: 347.8 MB / 0.7325 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.125088521745056] Failed to read output from testmodel.py, exit status != 0: 1.8391438513062894 1.849154033 0.756030423 Calling exit ...