Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.001/0.001, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001287/0.001287, allocations: 169 kB / 24.05 MB, free: 460 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.9619/0.9619, allocations: 177.2 MB / 204.5 MB, free: 5.496 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.06424/0.06424, allocations: 7.527 MB / 268.6 MB, free: 5.836 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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 339.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.474e-05, allocations: 6.25 kB / 339.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.01692/0.01694, allocations: 21.47 MB / 361.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.04043, allocations: 33.21 MB / 394.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.04079, allocations: 19.88 kB / 394.6 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.04161, allocations: 465.8 kB / 395.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009845/0.0426, allocations: 0.8704 MB / 396 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01808/0.06068, allocations: 11.23 MB / 407.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.06254, allocations: 2.005 MB / 409.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.06278, allocations: 131.6 kB / 409.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.06376, allocations: 1.087 MB / 410.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.06422, allocations: 482.6 kB / 410.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.06428, allocations: 60 kB / 410.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.07431, allocations: 8.151 MB / 419.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.07444, allocations: 179.3 kB / 419.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.07471, allocations: 307.4 kB / 419.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.08091, allocations: 5.248 MB / 424.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08091, allocations: 0 / 424.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.08091, allocations: 3.938 kB / 424.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.08092, allocations: 0 / 424.8 MB, free: 6.516 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001705/0.08262, allocations: 1.617 MB / 426.4 MB, free: 4.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.08266, allocations: 8.031 kB / 426.4 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.08315, allocations: 238.4 kB / 426.7 MB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.08349, allocations: 350.4 kB / 427 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.08354, allocations: 41 kB / 427.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.0836, allocations: 52 kB / 427.1 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.08441, allocations: 0.7758 MB / 427.9 MB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.08442, allocations: 0 / 427.9 MB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.08445, allocations: 20 kB / 427.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.08447, allocations: 27.97 kB / 427.9 MB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.08495, allocations: 319.5 kB / 428.2 MB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.08688, allocations: 2.332 MB / 430.6 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.08743, allocations: 368.9 kB / 430.9 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.08758, allocations: 154.2 kB / 431.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02868/0.1163, allocations: 10.65 MB / 441.7 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1163, allocations: 45.88 kB / 441.8 MB, free: 5.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 2.725e-06/0.1163, allocations: 0 / 441.8 MB, free: 5.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.003541/0.1198, allocations: 1.996 MB / 443.8 MB, free: 3.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1199, allocations: 59.89 kB / 443.8 MB, free: 3.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1201, allocations: 322 kB / 444.2 MB, free: 2.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1201, allocations: 37.7 kB / 444.2 MB, free: 2.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1202, allocations: 288.2 kB / 444.5 MB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.1204, allocations: 416.3 kB / 444.9 MB, free: 2.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.1206, allocations: 167.9 kB / 445 MB, free: 1.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1208, allocations: 0.5585 MB / 445.6 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1209, allocations: 109.9 kB / 445.7 MB, free: 1.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1211, allocations: 325.7 kB / 446 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.1215, allocations: 499.6 kB / 446.5 MB, free: 312 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1215, allocations: 0 / 446.5 MB, free: 312 kB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.1389/0.2604, allocations: 0.6344 MB / 447.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.2604, allocations: 11.69 kB / 447.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2605, allocations: 6.156 kB / 447.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.2607, allocations: 92.3 kB / 447.3 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.2612, allocations: 197.1 kB / 447.5 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02624/0.2875, allocations: 19.48 MB / 466.9 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.2879, allocations: 28 kB / 467 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.2879, allocations: 23.81 kB / 467 MB, free: 91.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.2881, allocations: 203.2 kB / 467.2 MB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2882, allocations: 85.22 kB / 467.3 MB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2897, allocations: 2.035 MB / 469.3 MB, free: 91.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006028/0.2903, allocations: 0.7018 MB / 470 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2903, allocations: 0 / 470 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005929/0.2909, allocations: 0.9232 MB / 470.9 MB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2924, allocations: 1.593 MB / 472.5 MB, free: 90.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2924, allocations: 3.094 kB / 472.5 MB, free: 90.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.2927, allocations: 134.6 kB / 472.6 MB, free: 90.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.293, allocations: 164.9 kB / 472.8 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.293, allocations: 16.91 kB / 472.8 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2942, allocations: 5.067 MB / 477.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2942, allocations: 7.219 kB / 477.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.2951, allocations: 1.058 MB / 479 MB, free: 84.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.2953, allocations: 53.61 kB / 479 MB, free: 84.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.2953, allocations: 21.75 kB / 479 MB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2955, allocations: 30.5 kB / 479.1 MB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2956, allocations: 78.03 kB / 479.1 MB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.2956, allocations: 19.88 kB / 479.2 MB, free: 84.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.2957, allocations: 230.8 kB / 479.4 MB, free: 84.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2957, allocations: 0 / 479.4 MB, free: 84.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002064/0.2978, allocations: 1.02 MB / 480.4 MB, free: 84.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse10.phase,$cse11.phase,$cse12.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/0.2999, allocations: 1.455 MB / 481.9 MB, free: 84.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3012, allocations: 1.166 MB / 483 MB, free: 83.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3012, allocations: 4 kB / 483 MB, free: 83.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.3018, allocations: 0.7339 MB / 483.8 MB, free: 83.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.303, allocations: 0.5087 MB / 484.3 MB, free: 83.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3047, allocations: 1.434 MB / 485.7 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3048, allocations: 184.1 kB / 485.9 MB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003845/0.3052, allocations: 169.8 kB / 486 MB, free: 82.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.3058, allocations: 408.5 kB / 486.4 MB, free: 82.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3058, allocations: 1.641 kB / 486.4 MB, free: 82.45 MB / 410.7 MB Notification: Performance of Templates: time 0.04207/0.3478, allocations: 47.7 MB / 0.5216 GB, free: 56.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.68847501417622]