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.001322/0.001322, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.001442/0.001442, allocations: 169 kB / 23.49 MB, free: 1.051 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.8713/0.8713, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.02918/0.02918, allocations: 7.515 MB / 267.8 MB, free: 6.062 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.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 1.623e-06/1.623e-06, allocations: 0 / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.513e-05, allocations: 4.703 kB / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.1915/0.1915, allocations: 128.9 MB / 467.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2371/0.4286, allocations: 111.2 MB / 0.5652 GB, free: 2.559 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.429, allocations: 10.06 kB / 0.5652 GB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.4305, allocations: 0.9409 MB / 0.5661 GB, free: 2.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.432, allocations: 1.125 MB / 0.5672 GB, free: 2.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04489/0.4769, allocations: 30.85 MB / 0.5973 GB, free: 14.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.4781, allocations: 1.397 MB / 0.5987 GB, free: 14.58 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.4783, allocations: 83.11 kB / 0.5988 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.4889, allocations: 12.59 MB / 0.6111 GB, free: 11.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.4892, allocations: 337.2 kB / 0.6114 GB, free: 11.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.4892, allocations: 42.41 kB / 0.6114 GB, free: 11.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02861/0.5179, allocations: 23.81 MB / 0.6347 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.518, allocations: 131.3 kB / 0.6348 GB, free: 3.688 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.5182, allocations: 219 kB / 0.635 GB, free: 3.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02091/0.5392, allocations: 14.21 MB / 0.6489 GB, free: 8.902 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5392, allocations: 7.984 kB / 0.6489 GB, free: 8.895 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5392, allocations: 0 / 0.6489 GB, free: 8.895 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5392, allocations: 4 kB / 0.6489 GB, free: 8.891 MB / 458.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.004341/0.5435, allocations: 2.675 MB / 0.6515 GB, free: 6.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5436, allocations: 12.62 kB / 0.6515 GB, free: 6.164 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.544, allocations: 174.8 kB / 0.6517 GB, free: 5.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.5444, allocations: 287.3 kB / 0.652 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.5444, allocations: 28.66 kB / 0.652 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.5444, allocations: 36 kB / 0.652 GB, free: 5.641 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.5452, allocations: 0.6069 MB / 0.6526 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5452, allocations: 0 / 0.6526 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.5452, allocations: 15.94 kB / 0.6526 GB, free: 4.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5452, allocations: 19.3 kB / 0.6527 GB, free: 4.938 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.5457, allocations: 286.6 kB / 0.6529 GB, free: 4.664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.5473, allocations: 1.811 MB / 0.6547 GB, free: 2.824 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.5478, allocations: 272.4 kB / 0.655 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.548, allocations: 122.8 kB / 0.6551 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09593/0.6439, allocations: 41.69 MB / 0.6958 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.6439, allocations: 41.67 kB / 0.6958 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.726e-06/0.644, allocations: 0 / 0.6958 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003068/0.647, allocations: 1.482 MB / 0.6973 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.647, allocations: 55.41 kB / 0.6973 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.6472, allocations: 270.7 kB / 0.6976 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.6472, allocations: 29.7 kB / 0.6976 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.6473, allocations: 247.2 kB / 0.6978 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6475, allocations: 290.8 kB / 0.6981 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.6476, allocations: 111.8 kB / 0.6982 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6477, allocations: 0.5352 MB / 0.6988 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.6478, allocations: 89.47 kB / 0.6988 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.648, allocations: 279.5 kB / 0.6991 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.6484, allocations: 419.9 kB / 0.6995 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6484, allocations: 0 / 0.6995 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005688/0.649, allocations: 0.4964 MB / 0.7 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.649, allocations: 11.94 kB / 0.7 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.649, allocations: 0 / 0.7 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.6492, allocations: 62.7 kB / 0.7001 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.6494, allocations: 89.77 kB / 0.7001 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03376/0.6832, allocations: 16 MB / 0.7158 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.6834, allocations: 23.98 kB / 0.7158 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.6834, allocations: 17.5 kB / 0.7158 GB, free: 3.688 MB / 0.5105 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.0001556/0.6835, allocations: 197.6 kB / 0.716 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.6836, allocations: 58.38 kB / 0.7161 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.6848, allocations: 1.398 MB / 0.7174 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6849, allocations: 6.578 kB / 0.7174 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6849, allocations: 0 / 0.7174 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007078/0.6856, allocations: 0.7577 MB / 0.7182 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6866, allocations: 1.039 MB / 0.7192 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6866, allocations: 0 / 0.7192 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.6868, allocations: 70.58 kB / 0.7192 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.6869, allocations: 43.66 kB / 0.7193 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.6869, allocations: 12 kB / 0.7193 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007552/0.6877, allocations: 1.746 MB / 0.721 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6877, allocations: 0 / 0.721 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.6884, allocations: 0.7336 MB / 0.7217 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.6884, allocations: 39.66 kB / 0.7218 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.6885, allocations: 8 kB / 0.7218 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.6886, allocations: 23.92 kB / 0.7218 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.6887, allocations: 35.92 kB / 0.7218 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6887, allocations: 15.98 kB / 0.7218 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001442/0.6889, allocations: 235 kB / 0.7221 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6889, allocations: 0 / 0.7221 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005279/0.6941, allocations: 2.438 MB / 0.7244 GB, free: 10.49 MB / 0.5261 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 ($cse5.phase,$cse6.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.006542/0.7007, allocations: 3.749 MB / 0.7281 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.7015, allocations: 0.7005 MB / 0.7288 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7015, allocations: 4 kB / 0.7288 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.7018, allocations: 385.6 kB / 0.7292 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.7028, allocations: 378.3 kB / 0.7295 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.7043, allocations: 0.9687 MB / 0.7305 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.043e-05/0.7044, allocations: 139.6 kB / 0.7306 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.7047, allocations: 151.8 kB / 0.7307 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.7048, allocations: 44.48 kB / 0.7308 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of SimCode: time 1.934e-06/0.7048, allocations: 0 / 0.7308 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of Templates: time 0.1723/0.8771, allocations: 78.36 MB / 0.8073 GB, free: 275.2 MB / 0.5573 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2573704740498215]