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.001631/0.001631, allocations: 116.1 kB / 17.17 MB, free: 6 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.0018/0.0018, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05131/0.05131, allocations: 9.153 MB / 291.5 MB, free: 7.176 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 74.97 kB / 406.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2401, allocations: 50.72 MB / 457.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.1435/0.3837, allocations: 129.3 MB / 0.5728 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3299/0.7136, allocations: 111.3 MB / 0.6815 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005651/0.7142, allocations: 9.031 kB / 0.6815 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.717, allocations: 1.554 MB / 0.6831 GB, free: 20 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.72, allocations: 1.829 MB / 0.6849 GB, free: 15.97 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07026/0.7903, allocations: 31.31 MB / 0.7154 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.7922, allocations: 1.407 MB / 0.7168 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.7924, allocations: 88.14 kB / 0.7169 GB, free: 0.9023 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01583/0.8083, allocations: 9.938 MB / 0.7266 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.8088, allocations: 391.8 kB / 0.727 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.8088, allocations: 44 kB / 0.727 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06091/0.8697, allocations: 35.72 MB / 0.7619 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.87, allocations: 126 kB / 0.762 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004977/0.8705, allocations: 313.8 kB / 0.7623 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.03776/0.9082, allocations: 14.13 MB / 0.7761 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9082, allocations: 0 / 0.7761 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9082, allocations: 0 / 0.7761 GB, free: 6.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.9082, allocations: 3.938 kB / 0.7761 GB, free: 6.883 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.006302/0.9145, allocations: 2.672 MB / 0.7787 GB, free: 4.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9146, allocations: 12.03 kB / 0.7787 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.546e-05/0.9146, allocations: 12.59 kB / 0.7787 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.86e-05/0.9147, allocations: 90.08 kB / 0.7788 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.9153, allocations: 92.62 kB / 0.7789 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.9159, allocations: 345.2 kB / 0.7792 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.9159, allocations: 32.66 kB / 0.7793 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.916, allocations: 28 kB / 0.7793 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.9173, allocations: 0.601 MB / 0.7799 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.9173, allocations: 0 / 0.7799 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.9174, allocations: 16 kB / 0.7799 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.9174, allocations: 15.44 kB / 0.7799 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.9187, allocations: 0.5493 MB / 0.7805 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.9215, allocations: 2.509 MB / 0.7829 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.9226, allocations: 476.4 kB / 0.7834 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.9231, allocations: 306.3 kB / 0.7836 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4107/1.334, allocations: 139 MB / 0.9194 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.334, allocations: 38.84 kB / 0.9194 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.647e-06/1.334, allocations: 0 / 0.9194 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.00577/1.34, allocations: 2.335 MB / 0.9217 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/1.34, allocations: 55.41 kB / 0.9217 GB, free: 199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/1.34, allocations: 260.7 kB / 0.922 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.34, allocations: 29.7 kB / 0.922 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/1.34, allocations: 200.6 kB / 0.9222 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.34, allocations: 275.8 kB / 0.9225 GB, free: 198.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.34, allocations: 98.11 kB / 0.9226 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/1.34, allocations: 350.8 kB / 0.9229 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/1.341, allocations: 273.7 kB / 0.9232 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/1.341, allocations: 388.7 kB / 0.9235 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/1.342, allocations: 0.6871 MB / 0.9242 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.342, allocations: 0 / 0.9242 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001235/1.343, allocations: 0.7926 MB / 0.925 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.343, allocations: 11.94 kB / 0.925 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.343, allocations: 0 / 0.925 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/1.344, allocations: 69.36 kB / 0.9251 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/1.344, allocations: 127.5 kB / 0.9252 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06514/1.409, allocations: 19.42 MB / 0.9441 GB, free: 175.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/1.41, allocations: 23.97 kB / 0.9442 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/1.41, allocations: 24 kB / 0.9442 GB, free: 175.4 MB / 0.6075 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.0002457/1.41, allocations: 189.4 kB / 0.9444 GB, free: 175.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.41, allocations: 43.72 kB / 0.9444 GB, free: 175.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.412, allocations: 1.671 MB / 0.946 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/1.412, allocations: 21.06 kB / 0.9461 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.412, allocations: 0 / 0.9461 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.413, allocations: 1.241 MB / 0.9473 GB, free: 172.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/1.415, allocations: 1.703 MB / 0.9489 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.415, allocations: 0 / 0.9489 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.415, allocations: 83.88 kB / 0.949 GB, free: 170.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/1.416, allocations: 105.6 kB / 0.9491 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.416, allocations: 12 kB / 0.9491 GB, free: 170.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008824/1.416, allocations: 1.996 MB / 0.9511 GB, free: 168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.416, allocations: 0 / 0.9511 GB, free: 168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/1.418, allocations: 1.295 MB / 0.9523 GB, free: 166.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.418, allocations: 123.5 kB / 0.9525 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/1.418, allocations: 8.062 kB / 0.9525 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/1.419, allocations: 27.97 kB / 0.9525 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.419, allocations: 43.94 kB / 0.9525 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/1.419, allocations: 15.98 kB / 0.9526 GB, free: 166.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001746/1.419, allocations: 219.1 kB / 0.9528 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.419, allocations: 0 / 0.9528 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008218/1.427, allocations: 3.569 MB / 0.9563 GB, free: 163.1 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.01733/1.444, allocations: 6.281 MB / 0.9624 GB, free: 157.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002032/1.446, allocations: 0.9798 MB / 0.9633 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.446, allocations: 0 / 0.9633 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/1.447, allocations: 475.1 kB / 0.9638 GB, free: 155.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.449, allocations: 403.6 kB / 0.9642 GB, free: 155.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.46, allocations: 6.249 MB / 0.9703 GB, free: 149 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/1.461, allocations: 0.8487 MB / 0.9711 GB, free: 148.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003928/1.461, allocations: 149.4 kB / 0.9713 GB, free: 148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/1.461, allocations: 171.4 kB / 0.9714 GB, free: 147.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/1.461, allocations: 0 / 0.9714 GB, free: 147.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/1.625, allocations: 133 MB / 1.101 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/19.06, allocations: 11.92 kB / 1.101 GB, free: 14.61 MB / 0.6075 GB " [Timeout remaining time 641] (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: 30.21577102597803] Failed to read output from testmodel.py, exit status != 0: 19.294751612993423 19.308730088 18.397562114 Calling exit ...