Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.001516/0.001516, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001663/0.001663, allocations: 164.2 kB / 22.46 MB, free: 5.355 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.382/1.382, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.04835/0.04835, allocations: 7.515 MB / 266.7 MB, free: 9.652 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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.129e-05, allocations: 2.281 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2667/0.2667, allocations: 114.9 MB / 0.4953 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1077/0.3744, allocations: 98.62 MB / 0.5916 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.3749, allocations: 11.94 kB / 0.5916 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.3778, allocations: 1.249 MB / 0.5929 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.3811, allocations: 1.602 MB / 0.5944 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0685/0.4496, allocations: 31.83 MB / 0.6255 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.4515, allocations: 1.425 MB / 0.6269 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4517, allocations: 81.78 kB / 0.627 GB, free: 9.195 MB / 0.4981 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.2083/0.66, allocations: 10.3 MB / 0.637 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.6605, allocations: 337.2 kB / 0.6374 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.6606, allocations: 42.28 kB / 0.6374 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0373/0.6979, allocations: 24.73 MB / 0.6616 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.6981, allocations: 133.5 kB / 0.6617 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.6985, allocations: 216.7 kB / 0.6619 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02939/0.7279, allocations: 14.49 MB / 0.676 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7279, allocations: 2.344 kB / 0.676 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7279, allocations: 0 / 0.676 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.728, allocations: 0 / 0.676 GB, free: 36.05 MB / 0.4981 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.005084/0.733, allocations: 2.586 MB / 0.6786 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.7331, allocations: 8.875 kB / 0.6786 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006801/0.7338, allocations: 88.39 kB / 0.6787 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.7341, allocations: 280.7 kB / 0.6789 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.7342, allocations: 25.78 kB / 0.6789 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.7342, allocations: 41.17 kB / 0.679 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7354, allocations: 0.7598 MB / 0.6797 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7354, allocations: 0 / 0.6797 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.7354, allocations: 21.03 kB / 0.6797 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.7355, allocations: 10.05 kB / 0.6798 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.7367, allocations: 0.56 MB / 0.6803 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.7384, allocations: 1.63 MB / 0.6819 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009612/0.7394, allocations: 481.9 kB / 0.6824 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.7399, allocations: 313.5 kB / 0.6827 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1887/0.9286, allocations: 44.03 MB / 0.7257 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9286, allocations: 41.8 kB / 0.7257 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 3.026e-06/0.9286, allocations: 0 / 0.7257 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.005327/0.934, allocations: 2.232 MB / 0.7279 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.934, allocations: 57.28 kB / 0.7279 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.9342, allocations: 238.5 kB / 0.7282 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.9342, allocations: 33.33 kB / 0.7282 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.9343, allocations: 192.4 kB / 0.7284 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9344, allocations: 272.2 kB / 0.7286 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.9345, allocations: 104.3 kB / 0.7287 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.9345, allocations: 345.5 kB / 0.7291 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.935, allocations: 282.5 kB / 0.7293 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.9354, allocations: 395.5 kB / 0.7297 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.9364, allocations: 0.7072 MB / 0.7304 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9364, allocations: 4 kB / 0.7304 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00125/0.9376, allocations: 0.8038 MB / 0.7312 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.9376, allocations: 10.06 kB / 0.7312 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9376, allocations: 7.984 kB / 0.7312 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.9379, allocations: 59.44 kB / 0.7313 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.9384, allocations: 125.6 kB / 0.7314 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07445/1.013, allocations: 19.21 MB / 0.7501 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/1.013, allocations: 23.53 kB / 0.7502 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.013, allocations: 15.94 kB / 0.7502 GB, free: 15.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002943/1.014, allocations: 197.2 kB / 0.7504 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.014, allocations: 47.66 kB / 0.7504 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/1.016, allocations: 1.701 MB / 0.7521 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.016, allocations: 19.36 kB / 0.7521 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.016, allocations: 0 / 0.7521 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/1.018, allocations: 1.291 MB / 0.7533 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/1.02, allocations: 1.596 MB / 0.7549 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.02, allocations: 0 / 0.7549 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/1.02, allocations: 86.34 kB / 0.755 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/1.021, allocations: 112.3 kB / 0.7551 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/1.021, allocations: 15.55 kB / 0.7551 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.022, allocations: 1.852 MB / 0.7569 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.022, allocations: 7.969 kB / 0.7569 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.024, allocations: 1.336 MB / 0.7582 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/1.024, allocations: 35.75 kB / 0.7583 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/1.024, allocations: 6.75 kB / 0.7583 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/1.025, allocations: 23.91 kB / 0.7583 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.025, allocations: 50.72 kB / 0.7583 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.025, allocations: 15.88 kB / 0.7584 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002182/1.025, allocations: 194.8 kB / 0.7585 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 0 / 0.7585 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008915/1.034, allocations: 3.579 MB / 0.762 GB, free: 4.887 MB / 0.5294 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01743/1.051, allocations: 4.994 MB / 0.7669 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.053, allocations: 1.001 MB / 0.7679 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.053, allocations: 0 / 0.7679 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008023/1.054, allocations: 486.5 kB / 0.7684 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.056, allocations: 377.8 kB / 0.7687 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/1.058, allocations: 1.135 MB / 0.7698 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/1.058, allocations: 246.3 kB / 0.7701 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003334/1.059, allocations: 145.6 kB / 0.7702 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/1.059, allocations: 44.38 kB / 0.7702 GB, free: 13.65 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/1.059, allocations: 0 / 0.7702 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Templates: time 0.3176/1.376, allocations: 126.8 MB / 0.8941 GB, free: 302.5 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.586314048618078] Failed to read output from testmodel.py, exit status != 0: 1.3843894265592098 1.393118052 0.662970245 Calling exit ...