Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.001292/0.001292, allocations: 101.3 kB / 19.73 MB, free: 1.992 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.001525/0.001525, allocations: 217.1 kB / 23.03 MB, free: 4.422 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.357/1.357, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.05065/0.05065, allocations: 9.142 MB / 295.3 MB, free: 12.52 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.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",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.00208/0.00208, allocations: 75.34 kB / 411.9 MB, free: 46.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0754/0.07748, allocations: 50.75 MB / 462.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.341/0.4185, allocations: 127 MB / 0.5758 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0948/0.5133, allocations: 86.68 MB / 0.6605 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.5138, allocations: 7.938 kB / 0.6605 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.5169, allocations: 1.231 MB / 0.6617 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.5207, allocations: 1.567 MB / 0.6632 GB, free: 12.16 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.07584/0.5965, allocations: 31.44 MB / 0.6939 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.5987, allocations: 1.437 MB / 0.6953 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.599, allocations: 89.91 kB / 0.6954 GB, free: 11.08 MB / 0.5137 GB [/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.01867/0.6176, allocations: 10.14 MB / 0.7053 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.6183, allocations: 390.5 kB / 0.7057 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.6183, allocations: 44 kB / 0.7057 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0535/0.6719, allocations: 26.36 MB / 0.7314 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.6721, allocations: 139.5 kB / 0.7316 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.6726, allocations: 247.1 kB / 0.7318 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3095/0.9822, allocations: 12.77 MB / 0.7443 GB, free: 61.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.9822, allocations: 0 / 0.7443 GB, free: 61.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9822, allocations: 2.406 kB / 0.7443 GB, free: 61.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.9822, allocations: 2.688 kB / 0.7443 GB, free: 61.72 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.01214/0.9943, allocations: 2.678 MB / 0.7469 GB, free: 60.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.9944, allocations: 13.67 kB / 0.7469 GB, free: 60.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.222e-05/0.9944, allocations: 17.16 kB / 0.7469 GB, free: 60.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.9945, allocations: 85.11 kB / 0.747 GB, free: 60.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/0.9954, allocations: 80.3 kB / 0.7471 GB, free: 60.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.9961, allocations: 273.8 kB / 0.7473 GB, free: 60.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.9961, allocations: 29.44 kB / 0.7474 GB, free: 60.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.9962, allocations: 32.62 kB / 0.7474 GB, free: 60.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.9979, allocations: 0.747 MB / 0.7481 GB, free: 59.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.998, allocations: 3 kB / 0.7481 GB, free: 59.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.998, allocations: 14.31 kB / 0.7482 GB, free: 59.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.9981, allocations: 21.23 kB / 0.7482 GB, free: 59.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.9998, allocations: 0.5267 MB / 0.7487 GB, free: 59.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/1.003, allocations: 1.701 MB / 0.7503 GB, free: 58.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.004, allocations: 465 kB / 0.7508 GB, free: 58.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/1.005, allocations: 310.9 kB / 0.7511 GB, free: 58.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1333/1.138, allocations: 30.73 MB / 0.7811 GB, free: 58.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.138, allocations: 40.17 kB / 0.7811 GB, free: 58.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.907e-06/1.138, allocations: 0.7656 kB / 0.7811 GB, free: 58.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006905/1.145, allocations: 2.344 MB / 0.7834 GB, free: 57.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/1.145, allocations: 56.25 kB / 0.7835 GB, free: 57.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/1.146, allocations: 256.2 kB / 0.7837 GB, free: 57.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/1.146, allocations: 36.39 kB / 0.7838 GB, free: 57.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/1.146, allocations: 185.8 kB / 0.7839 GB, free: 57.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.146, allocations: 283 kB / 0.7842 GB, free: 57.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.146, allocations: 100 kB / 0.7843 GB, free: 57.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/1.146, allocations: 353.6 kB / 0.7846 GB, free: 56.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/1.147, allocations: 290.2 kB / 0.7849 GB, free: 56.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/1.147, allocations: 421.8 kB / 0.7853 GB, free: 56.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/1.148, allocations: 0.7216 MB / 0.786 GB, free: 56.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.148, allocations: 1.875 kB / 0.786 GB, free: 56.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001508/1.15, allocations: 0.8432 MB / 0.7868 GB, free: 56.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.15, allocations: 6.188 kB / 0.7869 GB, free: 56.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.15, allocations: 8.422 kB / 0.7869 GB, free: 56.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/1.15, allocations: 81.73 kB / 0.7869 GB, free: 56.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/1.15, allocations: 110.7 kB / 0.787 GB, free: 56.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04802/1.198, allocations: 14.49 MB / 0.8012 GB, free: 50.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/1.199, allocations: 30.23 kB / 0.8012 GB, free: 50.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.199, allocations: 24.52 kB / 0.8012 GB, free: 50.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002596/1.199, allocations: 186.6 kB / 0.8014 GB, free: 50.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.199, allocations: 45.36 kB / 0.8015 GB, free: 50.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.201, allocations: 1.761 MB / 0.8032 GB, free: 49.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.201, allocations: 9.625 kB / 0.8032 GB, free: 49.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.201, allocations: 0 / 0.8032 GB, free: 49.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/1.203, allocations: 1.295 MB / 0.8045 GB, free: 48.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.205, allocations: 1.714 MB / 0.8061 GB, free: 47.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.205, allocations: 64 / 0.8061 GB, free: 47.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/1.205, allocations: 87.27 kB / 0.8062 GB, free: 47.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002865/1.205, allocations: 124.6 kB / 0.8063 GB, free: 47.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/1.205, allocations: 11.75 kB / 0.8063 GB, free: 47.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.207, allocations: 1.982 MB / 0.8083 GB, free: 45.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.207, allocations: 7.688 kB / 0.8083 GB, free: 45.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.208, allocations: 1.464 MB / 0.8097 GB, free: 44.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/1.209, allocations: 39.66 kB / 0.8098 GB, free: 44.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/1.209, allocations: 19.64 kB / 0.8098 GB, free: 44.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/1.209, allocations: 22.91 kB / 0.8098 GB, free: 44.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.209, allocations: 45.39 kB / 0.8098 GB, free: 44.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/1.209, allocations: 15.69 kB / 0.8099 GB, free: 44.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002014/1.209, allocations: 228.7 kB / 0.8101 GB, free: 44.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.209, allocations: 0 / 0.8101 GB, free: 44.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01138/1.221, allocations: 3.033 MB / 0.813 GB, free: 41.62 MB / 0.545 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * 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 {(2,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.02169/1.242, allocations: 5.724 MB / 0.8186 GB, free: 37.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.244, allocations: 1.011 MB / 0.8196 GB, free: 36.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.244, allocations: 0 / 0.8196 GB, free: 36.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00076/1.245, allocations: 0.5361 MB / 0.8201 GB, free: 36.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.247, allocations: 403.4 kB / 0.8205 GB, free: 36.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.262, allocations: 6.391 MB / 0.8268 GB, free: 31.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/1.262, allocations: 260.5 kB / 0.827 GB, free: 31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004523/1.263, allocations: 126.8 kB / 0.8271 GB, free: 30.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.263, allocations: 175.1 kB / 0.8273 GB, free: 30.87 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/1.263, allocations: 0 / 0.8273 GB, free: 30.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/1.48, allocations: 120.6 MB / 0.9451 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.74, allocations: 8.062 kB / 0.9451 GB, free: 7.008 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.465585893020034] Failed to read output from testmodel.py, exit status != 0: 19.986242661019787 19.999894707 19.014789568 Calling exit ...