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.001349/0.001349, 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.001578/0.001578, allocations: 209.3 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.793 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.04891/0.04891, allocations: 9.144 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: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 446.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1039, allocations: 54.94 MB / 0.4897 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.323/0.4269, allocations: 115.1 MB / 0.6022 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.107/0.5338, allocations: 98.62 MB / 0.6985 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.5344, allocations: 7.938 kB / 0.6985 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.5374, allocations: 1.23 MB / 0.6997 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.541, allocations: 1.571 MB / 0.7012 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3301/0.8711, allocations: 31.32 MB / 0.7318 GB, free: 22.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.8728, allocations: 1.42 MB / 0.7332 GB, free: 22.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.873, allocations: 80.38 kB / 0.7333 GB, free: 22.22 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.01534/0.8883, allocations: 9.98 MB / 0.743 GB, free: 22.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.8888, allocations: 375.6 kB / 0.7434 GB, free: 22.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.8888, allocations: 43.97 kB / 0.7434 GB, free: 22.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03867/0.9275, allocations: 24.53 MB / 0.7674 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.9278, allocations: 131.5 kB / 0.7675 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.9284, allocations: 257.9 kB / 0.7677 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03424/0.9626, allocations: 12.32 MB / 0.7798 GB, free: 21.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9626, allocations: 0 / 0.7798 GB, free: 21.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9626, allocations: 0 / 0.7798 GB, free: 21.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.9626, allocations: 0 / 0.7798 GB, free: 21.22 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.005785/0.9684, allocations: 2.594 MB / 0.7823 GB, free: 19.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9684, allocations: 10.06 kB / 0.7823 GB, free: 19.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.9685, allocations: 81.67 kB / 0.7824 GB, free: 19.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.9691, allocations: 91.69 kB / 0.7825 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.9695, allocations: 285.3 kB / 0.7827 GB, free: 19.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.9695, allocations: 38.59 kB / 0.7828 GB, free: 19.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.9696, allocations: 31.19 kB / 0.7828 GB, free: 19.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.9707, allocations: 0.7576 MB / 0.7835 GB, free: 18.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9707, allocations: 4.25 kB / 0.7835 GB, free: 18.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.9707, allocations: 13.97 kB / 0.7836 GB, free: 18.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.9707, allocations: 20.8 kB / 0.7836 GB, free: 18.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.9719, allocations: 0.5553 MB / 0.7841 GB, free: 18.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.9737, allocations: 1.711 MB / 0.7858 GB, free: 17.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.9746, allocations: 480.8 kB / 0.7863 GB, free: 17.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.9751, allocations: 318.3 kB / 0.7866 GB, free: 17.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1931/1.168, allocations: 44.04 MB / 0.8296 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/1.168, allocations: 38.59 kB / 0.8296 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.567e-06/1.168, allocations: 0 / 0.8296 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00644/1.175, allocations: 2.24 MB / 0.8318 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.175, allocations: 59.16 kB / 0.8319 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/1.175, allocations: 265.3 kB / 0.8321 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.175, allocations: 37.52 kB / 0.8321 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.175, allocations: 189.8 kB / 0.8323 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/1.175, allocations: 277.7 kB / 0.8326 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.176, allocations: 104.9 kB / 0.8327 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.176, allocations: 353.9 kB / 0.833 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/1.176, allocations: 280.2 kB / 0.8333 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/1.177, allocations: 401.5 kB / 0.8337 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.178, allocations: 0.6951 MB / 0.8344 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.178, allocations: 4 kB / 0.8344 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00149/1.179, allocations: 0.8121 MB / 0.8351 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.18, allocations: 10.52 kB / 0.8352 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.18, allocations: 4 kB / 0.8352 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/1.18, allocations: 56.88 kB / 0.8352 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/1.18, allocations: 130.7 kB / 0.8353 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0718/1.252, allocations: 19.23 MB / 0.8541 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/1.253, allocations: 35.72 kB / 0.8542 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/1.253, allocations: 19.67 kB / 0.8542 GB, free: 7.727 MB / 0.5919 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.0003497/1.253, allocations: 188.8 kB / 0.8544 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/1.253, allocations: 43.72 kB / 0.8544 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.256, allocations: 1.711 MB / 0.8561 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.256, allocations: 18.3 kB / 0.8561 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.256, allocations: 4 kB / 0.8561 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/1.257, allocations: 1.28 MB / 0.8573 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/1.26, allocations: 1.673 MB / 0.859 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.26, allocations: 0 / 0.859 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/1.26, allocations: 74.67 kB / 0.859 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/1.26, allocations: 114.3 kB / 0.8592 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.26, allocations: 3.812 kB / 0.8592 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/1.262, allocations: 1.879 MB / 0.861 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.262, allocations: 6.625 kB / 0.861 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.264, allocations: 1.337 MB / 0.8623 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/1.264, allocations: 43.67 kB / 0.8623 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/1.264, allocations: 16.44 kB / 0.8624 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.265, allocations: 26.95 kB / 0.8624 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.265, allocations: 43.67 kB / 0.8624 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.265, allocations: 15.42 kB / 0.8624 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002432/1.265, allocations: 220 kB / 0.8627 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.265, allocations: 2.078 kB / 0.8627 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009772/1.275, allocations: 3.579 MB / 0.8661 GB, free: 13.27 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 (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.02248/1.297, allocations: 6.304 MB / 0.8723 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.3, allocations: 1.003 MB / 0.8733 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.3, allocations: 4 kB / 0.8733 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008739/1.301, allocations: 479.8 kB / 0.8737 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.303, allocations: 396.5 kB / 0.8741 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/1.317, allocations: 6.335 MB / 0.8803 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.317, allocations: 252.3 kB / 0.8806 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004816/1.318, allocations: 150 kB / 0.8807 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/1.318, allocations: 167.9 kB / 0.8809 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/1.318, allocations: 0 / 0.8809 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4536/1.771, allocations: 134.9 MB / 1.013 GB, free: 246.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/19.46, allocations: 15.27 kB / 1.013 GB, free: 246.9 MB / 0.7012 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.03335847891867] Failed to read output from testmodel.py, exit status != 0: 19.660993250086904 19.681437502 18.715153849 Calling exit ...