Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001317/0.001317, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00143/0.00143, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.354/1.354, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.04992/0.04992, allocations: 9.151 MB / 295.3 MB, free: 12.51 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_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",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.002085/0.002085, allocations: 62.91 kB / 411.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07652/0.07861, allocations: 50.76 MB / 462.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3297/0.4083, allocations: 127 MB / 0.5758 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08727/0.4955, allocations: 86.67 MB / 0.6605 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.4961, allocations: 19.88 kB / 0.6605 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.499, allocations: 1.227 MB / 0.6617 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.5025, allocations: 1.571 MB / 0.6632 GB, free: 12.14 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.07234/0.5748, allocations: 31.43 MB / 0.6939 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.5767, allocations: 1.445 MB / 0.6953 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.5769, allocations: 89.91 kB / 0.6954 GB, free: 11.07 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.0163/0.5932, allocations: 10.13 MB / 0.7053 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.5938, allocations: 394.5 kB / 0.7057 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.5939, allocations: 40 kB / 0.7057 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03743/0.6313, allocations: 20.87 MB / 0.7261 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.6316, allocations: 123.5 kB / 0.7262 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.6321, allocations: 251.1 kB / 0.7264 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02913/0.6612, allocations: 10.15 MB / 0.7364 GB, free: 1.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6612, allocations: 0 / 0.7364 GB, free: 1.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6612, allocations: 0 / 0.7364 GB, free: 1.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.6613, allocations: 0 / 0.7364 GB, free: 1.031 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.201/0.8622, allocations: 2.138 MB / 0.7384 GB, free: 226.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.8623, allocations: 14.67 kB / 0.7385 GB, free: 226.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.853e-05/0.8623, allocations: 10.5 kB / 0.7385 GB, free: 226.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.78e-05/0.8624, allocations: 84.16 kB / 0.7385 GB, free: 226.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/0.8631, allocations: 80.52 kB / 0.7386 GB, free: 226.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.8638, allocations: 277.8 kB / 0.7389 GB, free: 225.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.8638, allocations: 31.67 kB / 0.7389 GB, free: 225.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.8639, allocations: 34.38 kB / 0.739 GB, free: 225.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.8657, allocations: 0.7452 MB / 0.7397 GB, free: 225.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.8657, allocations: 5.578 kB / 0.7397 GB, free: 225.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.8657, allocations: 16.91 kB / 0.7397 GB, free: 225.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.8658, allocations: 14.7 kB / 0.7397 GB, free: 225.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.8676, allocations: 0.5246 MB / 0.7402 GB, free: 225.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.8704, allocations: 1.701 MB / 0.7419 GB, free: 224.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.8714, allocations: 456.7 kB / 0.7423 GB, free: 224.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.8718, allocations: 297 kB / 0.7426 GB, free: 224.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1424/1.014, allocations: 34.16 MB / 0.776 GB, free: 201 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.014, allocations: 36.89 kB / 0.776 GB, free: 201 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/1.014, allocations: 0 / 0.776 GB, free: 201 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.007756/1.022, allocations: 2.478 MB / 0.7784 GB, free: 198.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.022, allocations: 55.41 kB / 0.7785 GB, free: 198.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/1.022, allocations: 257.8 kB / 0.7787 GB, free: 198.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/1.022, allocations: 33.7 kB / 0.7788 GB, free: 198.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/1.022, allocations: 193.4 kB / 0.7789 GB, free: 197.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.022, allocations: 277.1 kB / 0.7792 GB, free: 197.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.023, allocations: 106.1 kB / 0.7793 GB, free: 197.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/1.023, allocations: 350.8 kB / 0.7796 GB, free: 197.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/1.023, allocations: 292.7 kB / 0.7799 GB, free: 196.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/1.024, allocations: 411.5 kB / 0.7803 GB, free: 196.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/1.024, allocations: 0.7368 MB / 0.781 GB, free: 195.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.024, allocations: 4 kB / 0.781 GB, free: 195.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001193/1.026, allocations: 0.8398 MB / 0.7819 GB, free: 194.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.026, allocations: 4.375 kB / 0.7819 GB, free: 194.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.026, allocations: 8 kB / 0.7819 GB, free: 194.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/1.026, allocations: 146.1 kB / 0.782 GB, free: 194.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/1.027, allocations: 128.8 kB / 0.7821 GB, free: 194.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/1.028, allocations: 3.635 MB / 0.7857 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/1.029, allocations: 31.91 kB / 0.7857 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/1.029, allocations: 28.3 kB / 0.7857 GB, free: 190.6 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 (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/1.029, allocations: 189.6 kB / 0.7859 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.029, allocations: 43.72 kB / 0.786 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.032, allocations: 1.707 MB / 0.7876 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.032, allocations: 15.11 kB / 0.7876 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.032, allocations: 0 / 0.7876 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001737/1.034, allocations: 1.27 MB / 0.7889 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.036, allocations: 1.684 MB / 0.7905 GB, free: 185.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.036, allocations: 0 / 0.7905 GB, free: 185.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/1.036, allocations: 75.89 kB / 0.7906 GB, free: 185.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005848/1.036, allocations: 262.3 kB / 0.7908 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.036, allocations: 13.94 kB / 0.7909 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006587/1.037, allocations: 1.782 MB / 0.7926 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.037, allocations: 224 / 0.7926 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.039, allocations: 1.502 MB / 0.7941 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/1.039, allocations: 39.75 kB / 0.7941 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/1.039, allocations: 4 kB / 0.7941 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/1.039, allocations: 27.97 kB / 0.7941 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.039, allocations: 51.8 kB / 0.7942 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/1.039, allocations: 15.98 kB / 0.7942 GB, free: 181.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001619/1.039, allocations: 223.1 kB / 0.7944 GB, free: 181.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.039, allocations: 4.062 kB / 0.7944 GB, free: 181.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005353/1.045, allocations: 2.006 MB / 0.7964 GB, free: 179.4 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/1.056, allocations: 4.567 MB / 0.8008 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.058, allocations: 0.8547 MB / 0.8017 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.058, allocations: 4 kB / 0.8017 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006185/1.059, allocations: 390.3 kB / 0.802 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.061, allocations: 397 kB / 0.8024 GB, free: 173.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009925/1.07, allocations: 5.824 MB / 0.8081 GB, free: 167.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.071, allocations: 242.1 kB / 0.8083 GB, free: 167.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004239/1.071, allocations: 92.61 kB / 0.8084 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.071, allocations: 175.4 kB / 0.8086 GB, free: 167.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.071, allocations: 0 / 0.8086 GB, free: 167.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.202, allocations: 79.48 MB / 0.8862 GB, free: 87.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.15, allocations: 11.86 kB / 0.8862 GB, free: 87.57 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.950912050902843] Failed to read output from testmodel.py, exit status != 0: 17.36546174006071 17.381522742 16.717014294 Calling exit ...