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.001264/0.001264, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001502/0.001502, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.465/1.465, allocations: 207.6 MB / 233 MB, free: 10 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.05542/0.05542, allocations: 9.163 MB / 294.4 MB, free: 12.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",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.002472/0.002472, allocations: 84.34 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07844/0.08091, allocations: 50.75 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4071/0.488, allocations: 142.9 MB / 0.5906 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1187/0.6067, allocations: 97.99 MB / 0.6863 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.6073, allocations: 7.938 kB / 0.6863 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.6112, allocations: 1.555 MB / 0.6878 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.6157, allocations: 1.829 MB / 0.6896 GB, free: 3.922 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.08807/0.7038, allocations: 31.56 MB / 0.7205 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.7061, allocations: 1.425 MB / 0.7218 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.7063, allocations: 97.89 kB / 0.7219 GB, free: 2.723 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.01874/0.7251, allocations: 10.27 MB / 0.732 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.7257, allocations: 386.4 kB / 0.7323 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.7258, allocations: 48 kB / 0.7324 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3295/1.055, allocations: 37.77 MB / 0.7693 GB, free: 45.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/1.056, allocations: 128.8 kB / 0.7694 GB, free: 45.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000495/1.056, allocations: 305.3 kB / 0.7697 GB, free: 45.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0391/1.095, allocations: 14.64 MB / 0.784 GB, free: 45.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.095, allocations: 0 / 0.784 GB, free: 45.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/1.095, allocations: 0.7656 kB / 0.784 GB, free: 45.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.095, allocations: 0 / 0.784 GB, free: 45.2 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.006618/1.102, allocations: 2.698 MB / 0.7866 GB, free: 43.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.102, allocations: 14.95 kB / 0.7866 GB, free: 43.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/1.102, allocations: 85.47 kB / 0.7867 GB, free: 43.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/1.102, allocations: 83.45 kB / 0.7868 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/1.103, allocations: 268.5 kB / 0.787 GB, free: 43.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/1.103, allocations: 32.91 kB / 0.7871 GB, free: 43.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/1.103, allocations: 35.84 kB / 0.7871 GB, free: 43.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.104, allocations: 0.5939 MB / 0.7877 GB, free: 43.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.104, allocations: 2.062 kB / 0.7877 GB, free: 43.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/1.104, allocations: 15.16 kB / 0.7877 GB, free: 43.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/1.104, allocations: 21.88 kB / 0.7877 GB, free: 43.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.105, allocations: 0.5264 MB / 0.7882 GB, free: 43.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/1.107, allocations: 2.474 MB / 0.7907 GB, free: 41.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/1.108, allocations: 465.1 kB / 0.7911 GB, free: 41.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/1.109, allocations: 312.8 kB / 0.7914 GB, free: 41.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1119/1.221, allocations: 30.62 MB / 0.8213 GB, free: 27.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.221, allocations: 42.78 kB / 0.8213 GB, free: 27.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/1.221, allocations: 0 / 0.8213 GB, free: 27.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.006032/1.227, allocations: 2.333 MB / 0.8236 GB, free: 25.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/1.227, allocations: 55.41 kB / 0.8237 GB, free: 25.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/1.227, allocations: 263.5 kB / 0.8239 GB, free: 25.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.227, allocations: 32.83 kB / 0.824 GB, free: 25.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/1.227, allocations: 188 kB / 0.8241 GB, free: 25.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.227, allocations: 284.3 kB / 0.8244 GB, free: 25.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.227, allocations: 99.92 kB / 0.8245 GB, free: 25.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/1.227, allocations: 357 kB / 0.8248 GB, free: 24.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/1.228, allocations: 288.3 kB / 0.8251 GB, free: 24.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/1.228, allocations: 410.2 kB / 0.8255 GB, free: 24.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/1.229, allocations: 0.7308 MB / 0.8262 GB, free: 23.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.229, allocations: 0 / 0.8262 GB, free: 23.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00141/1.231, allocations: 0.8417 MB / 0.827 GB, free: 23.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.231, allocations: 9.719 kB / 0.8271 GB, free: 23.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.231, allocations: 4 kB / 0.8271 GB, free: 23.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/1.231, allocations: 77.5 kB / 0.8271 GB, free: 23.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/1.232, allocations: 116.7 kB / 0.8272 GB, free: 22.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0497/1.281, allocations: 14.52 MB / 0.8414 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/1.282, allocations: 31.03 kB / 0.8415 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/1.282, allocations: 20 kB / 0.8415 GB, free: 8.594 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.0002575/1.282, allocations: 186.7 kB / 0.8417 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.282, allocations: 55.28 kB / 0.8417 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/1.284, allocations: 1.749 MB / 0.8434 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.284, allocations: 14.59 kB / 0.8434 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.284, allocations: 3.984 kB / 0.8434 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/1.285, allocations: 1.285 MB / 0.8447 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/1.288, allocations: 1.769 MB / 0.8464 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.288, allocations: 1.781 kB / 0.8464 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/1.288, allocations: 80.56 kB / 0.8465 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/1.288, allocations: 119.9 kB / 0.8466 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/1.288, allocations: 11.75 kB / 0.8466 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/1.289, allocations: 1.996 MB / 0.8486 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.289, allocations: 4.062 kB / 0.8486 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.291, allocations: 1.461 MB / 0.85 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/1.291, allocations: 49.55 kB / 0.85 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/1.291, allocations: 9.125 kB / 0.8501 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/1.292, allocations: 25.55 kB / 0.8501 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.292, allocations: 51.66 kB / 0.8501 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.292, allocations: 15.3 kB / 0.8501 GB, free: 1.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001808/1.292, allocations: 220.9 kB / 0.8504 GB, free: 1.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.292, allocations: 0 / 0.8504 GB, free: 1.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008025/1.3, allocations: 3.039 MB / 0.8533 GB, free: 14.4 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.0194/1.319, allocations: 5.724 MB / 0.8589 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002316/1.322, allocations: 1.011 MB / 0.8599 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.322, allocations: 0 / 0.8599 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.323, allocations: 0.5347 MB / 0.8604 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.325, allocations: 399.5 kB / 0.8608 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.34, allocations: 6.389 MB / 0.867 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/1.341, allocations: 0.8651 MB / 0.8679 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004812/1.341, allocations: 115.2 kB / 0.868 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/1.341, allocations: 174.8 kB / 0.8682 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.341, allocations: 1.75 kB / 0.8682 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/1.782, allocations: 119.5 MB / 0.9848 GB, free: 327.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/21.3, allocations: 14.81 kB / 0.9849 GB, free: 327.2 MB / 0.67 GB " [Timeout remaining time 638] (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.409078418975696] Failed to read output from testmodel.py, exit status != 0: 21.503494552103803 21.525346013 20.426249379 Calling exit ...