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.001243/0.001243, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001512/0.001512, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.331/1.331, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.04989/0.04989, allocations: 9.153 MB / 295.2 MB, free: 12.71 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.002058/0.002058, allocations: 67.31 kB / 411.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0712/0.07326, allocations: 50.75 MB / 462.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3496/0.4228, allocations: 142.9 MB / 0.5914 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1012/0.524, allocations: 97.99 MB / 0.6871 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.5246, allocations: 11.94 kB / 0.6871 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.5279, allocations: 1.555 MB / 0.6886 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.5321, allocations: 1.826 MB / 0.6904 GB, free: 3.957 MB / 0.4981 GB [/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.08104/0.6131, allocations: 31.56 MB / 0.7212 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.6153, allocations: 1.425 MB / 0.7226 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.6156, allocations: 101.9 kB / 0.7227 GB, free: 2.754 MB / 0.5294 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.01792/0.6335, allocations: 10.25 MB / 0.7327 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.6343, allocations: 398.5 kB / 0.7331 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6345, allocations: 40 kB / 0.7331 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3096/0.9441, allocations: 37.78 MB / 0.77 GB, free: 45.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.9443, allocations: 125.5 kB / 0.7702 GB, free: 45.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.9448, allocations: 309.1 kB / 0.7704 GB, free: 45.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03825/0.983, allocations: 14.65 MB / 0.7848 GB, free: 45.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9831, allocations: 0 / 0.7848 GB, free: 45.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9831, allocations: 0 / 0.7848 GB, free: 45.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9831, allocations: 0 / 0.7848 GB, free: 45.14 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.006936/0.99, allocations: 2.698 MB / 0.7874 GB, free: 43.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.99, allocations: 14.73 kB / 0.7874 GB, free: 43.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/0.9901, allocations: 12.59 kB / 0.7874 GB, free: 43.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.9901, allocations: 84.38 kB / 0.7875 GB, free: 43.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.9906, allocations: 81.3 kB / 0.7876 GB, free: 43.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.991, allocations: 277.8 kB / 0.7878 GB, free: 43.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.991, allocations: 29.78 kB / 0.7879 GB, free: 43.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.9911, allocations: 33.91 kB / 0.7879 GB, free: 43.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.9921, allocations: 0.5917 MB / 0.7885 GB, free: 43.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9921, allocations: 0 / 0.7885 GB, free: 43.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.9921, allocations: 17.09 kB / 0.7885 GB, free: 43.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.9921, allocations: 15.09 kB / 0.7885 GB, free: 43.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.9932, allocations: 0.5382 MB / 0.789 GB, free: 43.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.9952, allocations: 2.461 MB / 0.7914 GB, free: 41.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.996, allocations: 466.9 kB / 0.7919 GB, free: 41.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.9965, allocations: 310.3 kB / 0.7922 GB, free: 41.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1094/1.106, allocations: 30.62 MB / 0.8221 GB, free: 27.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.106, allocations: 38.59 kB / 0.8221 GB, free: 27.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/1.106, allocations: 0 / 0.8221 GB, free: 27.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006184/1.112, allocations: 2.339 MB / 0.8244 GB, free: 25.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/1.112, allocations: 57.47 kB / 0.8245 GB, free: 25.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/1.112, allocations: 255.9 kB / 0.8247 GB, free: 25.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/1.112, allocations: 36.92 kB / 0.8247 GB, free: 25.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/1.113, allocations: 193.3 kB / 0.8249 GB, free: 25.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.113, allocations: 283.1 kB / 0.8252 GB, free: 25.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.113, allocations: 96.17 kB / 0.8253 GB, free: 25.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/1.113, allocations: 355.5 kB / 0.8256 GB, free: 24.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/1.113, allocations: 286.1 kB / 0.8259 GB, free: 24.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/1.114, allocations: 417.5 kB / 0.8263 GB, free: 24.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/1.115, allocations: 0.73 MB / 0.827 GB, free: 23.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.115, allocations: 0 / 0.827 GB, free: 23.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001396/1.116, allocations: 0.8422 MB / 0.8278 GB, free: 23.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.116, allocations: 9.719 kB / 0.8278 GB, free: 23.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.116, allocations: 4 kB / 0.8278 GB, free: 23.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/1.116, allocations: 87.03 kB / 0.8279 GB, free: 23.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/1.117, allocations: 113.7 kB / 0.828 GB, free: 22.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04721/1.164, allocations: 14.51 MB / 0.8422 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/1.165, allocations: 27.3 kB / 0.8422 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/1.165, allocations: 19.73 kB / 0.8422 GB, free: 8.578 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.0002601/1.165, allocations: 199.1 kB / 0.8424 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.165, allocations: 47.66 kB / 0.8425 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.167, allocations: 1.74 MB / 0.8442 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.167, allocations: 20.64 kB / 0.8442 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.167, allocations: 4 kB / 0.8442 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.168, allocations: 1.288 MB / 0.8455 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/1.17, allocations: 1.764 MB / 0.8472 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.17, allocations: 0 / 0.8472 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/1.171, allocations: 86.56 kB / 0.8473 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/1.171, allocations: 122.8 kB / 0.8474 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/1.171, allocations: 10.88 kB / 0.8474 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.172, allocations: 1.994 MB / 0.8493 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.172, allocations: 0 / 0.8493 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.174, allocations: 1.463 MB / 0.8508 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/1.174, allocations: 50.64 kB / 0.8508 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/1.174, allocations: 9.625 kB / 0.8508 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.174, allocations: 30.34 kB / 0.8509 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/1.174, allocations: 47.22 kB / 0.8509 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/1.174, allocations: 10.25 kB / 0.8509 GB, free: 1.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001795/1.175, allocations: 220.9 kB / 0.8511 GB, free: 1.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 0.8511 GB, free: 1.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007838/1.182, allocations: 3.041 MB / 0.8541 GB, free: 14.39 MB / 0.5606 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.01937/1.202, allocations: 5.72 MB / 0.8597 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.204, allocations: 1.016 MB / 0.8607 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.204, allocations: 4.312 kB / 0.8607 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.205, allocations: 0.533 MB / 0.8612 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/1.207, allocations: 399.7 kB / 0.8616 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.223, allocations: 6.394 MB / 0.8678 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/1.224, allocations: 0.8568 MB / 0.8687 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004842/1.224, allocations: 126 kB / 0.8688 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.225, allocations: 169.3 kB / 0.8689 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/1.225, allocations: 0 / 0.8689 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4022/1.627, allocations: 119.5 MB / 0.9856 GB, free: 327.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/19.61, allocations: 7.766 kB / 0.9857 GB, free: 327.1 MB / 0.67 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 sys.exit(0), Time elapsed: 28.29708659602329] Failed to read output from testmodel.py, exit status != 0: 19.8646864190232 19.884877055 18.898241246 Calling exit ...