Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.001415/0.001415, 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.001744/0.001744, allocations: 211.6 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.65/1.65, allocations: 230.6 MB / 256 MB, free: 7.789 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.0548/0.0548, allocations: 9.148 MB / 321.6 MB, free: 10.22 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 71.89 kB / 447 MB, free: 60 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1156, allocations: 54.94 MB / 0.4902 GB, free: 9.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.415/0.5306, allocations: 114.4 MB / 0.6019 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1299/0.6605, allocations: 97.65 MB / 0.6973 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/0.6614, allocations: 11.94 kB / 0.6973 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.6652, allocations: 1.133 MB / 0.6984 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.6697, allocations: 1.466 MB / 0.6999 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4148/1.085, allocations: 30.49 MB / 0.7296 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002197/1.087, allocations: 1.343 MB / 0.7309 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/1.087, allocations: 75.58 kB / 0.731 GB, free: 23.44 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01772/1.105, allocations: 8.826 MB / 0.7396 GB, free: 23.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/1.105, allocations: 356.8 kB / 0.74 GB, free: 23.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/1.105, allocations: 47.86 kB / 0.74 GB, free: 23.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05062/1.156, allocations: 23.97 MB / 0.7634 GB, free: 23.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/1.156, allocations: 132.5 kB / 0.7636 GB, free: 23.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/1.157, allocations: 248.4 kB / 0.7638 GB, free: 23.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04268/1.2, allocations: 12.34 MB / 0.7758 GB, free: 22.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.2, allocations: 1.219 kB / 0.7758 GB, free: 22.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/1.2, allocations: 4 kB / 0.7759 GB, free: 22.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.2, allocations: 0 / 0.7759 GB, free: 22.81 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.007143/1.207, allocations: 2.586 MB / 0.7784 GB, free: 21.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.207, allocations: 11.2 kB / 0.7784 GB, free: 21.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/1.208, allocations: 88.39 kB / 0.7785 GB, free: 21.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/1.208, allocations: 287.9 kB / 0.7787 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/1.208, allocations: 30.59 kB / 0.7788 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/1.208, allocations: 31.56 kB / 0.7788 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.209, allocations: 0.7651 MB / 0.7796 GB, free: 20.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.209, allocations: 4 kB / 0.7796 GB, free: 20.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/1.21, allocations: 15.53 kB / 0.7796 GB, free: 20.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/1.21, allocations: 16.55 kB / 0.7796 GB, free: 20.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/1.211, allocations: 0.5616 MB / 0.7801 GB, free: 20.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/1.213, allocations: 1.624 MB / 0.7817 GB, free: 20.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/1.214, allocations: 485 kB / 0.7822 GB, free: 20.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/1.214, allocations: 319.7 kB / 0.7825 GB, free: 20.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2/1.414, allocations: 44.05 MB / 0.8255 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/1.414, allocations: 38 kB / 0.8255 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/1.414, allocations: 0 / 0.8255 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006748/1.421, allocations: 2.246 MB / 0.8277 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.421, allocations: 56.17 kB / 0.8278 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/1.421, allocations: 227.2 kB / 0.828 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/1.421, allocations: 37.39 kB / 0.828 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.421, allocations: 196.1 kB / 0.8282 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/1.422, allocations: 276.5 kB / 0.8285 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/1.422, allocations: 100.2 kB / 0.8286 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.422, allocations: 350.1 kB / 0.8289 GB, free: 472 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/1.423, allocations: 287 kB / 0.8292 GB, free: 296 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/1.423, allocations: 419.1 kB / 0.8296 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.424, allocations: 0.7384 MB / 0.8303 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.424, allocations: 0 / 0.8303 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001589/1.426, allocations: 0.8062 MB / 0.8311 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.426, allocations: 12 kB / 0.8311 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.426, allocations: 7.984 kB / 0.8311 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/1.426, allocations: 62.17 kB / 0.8312 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/1.427, allocations: 124.5 kB / 0.8313 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07592/1.503, allocations: 19.63 MB / 0.8505 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/1.503, allocations: 31.72 kB / 0.8505 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.503, allocations: 23.86 kB / 0.8505 GB, free: 11.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003192/1.504, allocations: 198.3 kB / 0.8507 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.504, allocations: 43.75 kB / 0.8508 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/1.506, allocations: 1.619 MB / 0.8523 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.506, allocations: 14.11 kB / 0.8524 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.506, allocations: 4.656 kB / 0.8524 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/1.508, allocations: 1.205 MB / 0.8535 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/1.51, allocations: 1.533 MB / 0.855 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.51, allocations: 4 kB / 0.855 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/1.51, allocations: 73.2 kB / 0.8551 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/1.511, allocations: 114.5 kB / 0.8552 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/1.511, allocations: 7.75 kB / 0.8552 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.512, allocations: 1.866 MB / 0.857 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.512, allocations: 0 / 0.857 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/1.514, allocations: 1.287 MB / 0.8583 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/1.514, allocations: 35.66 kB / 0.8583 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/1.514, allocations: 8.5 kB / 0.8583 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.515, allocations: 31.22 kB / 0.8584 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/1.515, allocations: 40.05 kB / 0.8584 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/1.515, allocations: 23.17 kB / 0.8584 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002499/1.515, allocations: 221.1 kB / 0.8586 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.515, allocations: 0 / 0.8586 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01012/1.525, allocations: 3.574 MB / 0.8621 GB, free: 1.473 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.02163/1.547, allocations: 4.647 MB / 0.8667 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.55, allocations: 0.9756 MB / 0.8676 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.55, allocations: 0 / 0.8676 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/1.551, allocations: 484.3 kB / 0.8681 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.553, allocations: 371.6 kB / 0.8684 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.555, allocations: 1.198 MB / 0.8696 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/1.555, allocations: 250.2 kB / 0.8698 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003848/1.555, allocations: 139.1 kB / 0.87 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/1.555, allocations: 43.84 kB / 0.87 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/1.555, allocations: 0 / 0.87 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Templates: time 0.4423/1.998, allocations: 127 MB / 0.994 GB, free: 331.6 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.049559591338038] Failed to read output from testmodel.py, exit status != 0: 2.006251832470298 2.018378968 0.815922509 Calling exit ...