Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001425/0.001425, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001648/0.001648, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.738 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.07712/0.07712, allocations: 9.129 MB / 321.5 MB, free: 10.3 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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.89 kB / 447 MB, free: 100 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1224, allocations: 54.95 MB / 0.4902 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3813/0.5037, allocations: 114.9 MB / 0.6024 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.117/0.6207, allocations: 98.6 MB / 0.6987 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.6213, allocations: 11.94 kB / 0.6987 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.6245, allocations: 1.226 MB / 0.6999 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.6286, allocations: 1.571 MB / 0.7014 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4119/1.04, allocations: 31.05 MB / 0.7318 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002225/1.043, allocations: 1.424 MB / 0.7331 GB, free: 21.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/1.043, allocations: 84.58 kB / 0.7332 GB, free: 21.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01985/1.063, allocations: 10.81 MB / 0.7438 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/1.063, allocations: 377.8 kB / 0.7441 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.578e-05/1.063, allocations: 42.84 kB / 0.7442 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05127/1.115, allocations: 23.84 MB / 0.7675 GB, free: 21.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/1.115, allocations: 123.8 kB / 0.7676 GB, free: 21.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006136/1.116, allocations: 253.2 kB / 0.7678 GB, free: 21.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04583/1.162, allocations: 12.21 MB / 0.7798 GB, free: 20.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.162, allocations: 0 / 0.7798 GB, free: 20.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/1.162, allocations: 0 / 0.7798 GB, free: 20.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.254e-05/1.162, allocations: 4 kB / 0.7798 GB, free: 20.88 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.007998/1.17, allocations: 2.593 MB / 0.7823 GB, free: 19.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.17, allocations: 10.17 kB / 0.7823 GB, free: 19.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/1.17, allocations: 89.66 kB / 0.7824 GB, free: 19.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/1.171, allocations: 288.7 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/1.171, allocations: 32 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/1.171, allocations: 31.28 kB / 0.7827 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.172, allocations: 0.7607 MB / 0.7835 GB, free: 18.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.172, allocations: 3.375 kB / 0.7835 GB, free: 18.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/1.172, allocations: 18.66 kB / 0.7835 GB, free: 18.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/1.172, allocations: 17.59 kB / 0.7835 GB, free: 18.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/1.174, allocations: 0.5486 MB / 0.784 GB, free: 18.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/1.176, allocations: 1.649 MB / 0.7856 GB, free: 17.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009612/1.177, allocations: 470.8 kB / 0.7861 GB, free: 17.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/1.178, allocations: 317.1 kB / 0.7864 GB, free: 17.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2484/1.426, allocations: 44.04 MB / 0.8294 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.426, allocations: 38.56 kB / 0.8294 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/1.426, allocations: 0 / 0.8294 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.00645/1.433, allocations: 2.244 MB / 0.8316 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.433, allocations: 59.41 kB / 0.8317 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/1.433, allocations: 238.6 kB / 0.8319 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/1.433, allocations: 36.7 kB / 0.832 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/1.433, allocations: 198.7 kB / 0.8321 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.433, allocations: 274.4 kB / 0.8324 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.434, allocations: 100.8 kB / 0.8325 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.434, allocations: 354 kB / 0.8328 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/1.434, allocations: 283.1 kB / 0.8331 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/1.435, allocations: 406.6 kB / 0.8335 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.436, allocations: 0.7143 MB / 0.8342 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.436, allocations: 0 / 0.8342 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001559/1.438, allocations: 0.8224 MB / 0.835 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.438, allocations: 7.188 kB / 0.835 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.438, allocations: 4 kB / 0.835 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/1.438, allocations: 61.67 kB / 0.8351 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/1.439, allocations: 145.1 kB / 0.8352 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07307/1.512, allocations: 18.19 MB / 0.853 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/1.512, allocations: 27.72 kB / 0.853 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/1.512, allocations: 15.94 kB / 0.853 GB, free: 9.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {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): 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.0003499/1.513, allocations: 198.6 kB / 0.8532 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.513, allocations: 43.72 kB / 0.8532 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.515, allocations: 1.746 MB / 0.8549 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.515, allocations: 11.3 kB / 0.855 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.515, allocations: 7.984 kB / 0.855 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/1.517, allocations: 1.319 MB / 0.8563 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.519, allocations: 1.651 MB / 0.8579 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.519, allocations: 4 kB / 0.8579 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/1.52, allocations: 76.09 kB / 0.8579 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/1.52, allocations: 159.7 kB / 0.8581 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/1.52, allocations: 11.86 kB / 0.8581 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/1.522, allocations: 2.443 MB / 0.8605 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.522, allocations: 7.938 kB / 0.8605 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.524, allocations: 1.414 MB / 0.8619 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.524, allocations: 42.62 kB / 0.8619 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/1.524, allocations: 10.5 kB / 0.8619 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/1.525, allocations: 23.41 kB / 0.862 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.525, allocations: 47.41 kB / 0.862 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.525, allocations: 19.03 kB / 0.862 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000226/1.525, allocations: 206.8 kB / 0.8622 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.525, allocations: 0 / 0.8622 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01023/1.535, allocations: 3.569 MB / 0.8657 GB, free: 14.08 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02208/1.558, allocations: 4.513 MB / 0.8701 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002691/1.56, allocations: 1.019 MB / 0.8711 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.56, allocations: 0 / 0.8711 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00095/1.561, allocations: 497 kB / 0.8716 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.563, allocations: 374 kB / 0.8719 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/1.565, allocations: 1.215 MB / 0.8731 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/1.566, allocations: 263 kB / 0.8734 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004186/1.566, allocations: 130.9 kB / 0.8735 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.566, allocations: 38.44 kB / 0.8735 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/1.566, allocations: 0 / 0.8735 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.44/2.006, allocations: 127.5 MB / 0.998 GB, free: 330.8 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.44757124222815] Failed to read output from testmodel.py, exit status != 0: 2.0139678213745356 2.025746908 0.861679302 Calling exit ...