Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.001312/0.001312, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001509/0.001509, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.412/1.412, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.05064/0.05064, 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.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",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.002274/0.002274, allocations: 71.47 kB / 411.9 MB, free: 46.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07575/0.07803, allocations: 50.75 MB / 462.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3609/0.4389, allocations: 114.4 MB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1007/0.5396, allocations: 97.6 MB / 0.6588 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.5401, allocations: 15.88 kB / 0.6588 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.5432, allocations: 1.133 MB / 0.6599 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.5471, allocations: 1.462 MB / 0.6613 GB, free: 14.11 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.07387/0.621, allocations: 30.59 MB / 0.6912 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.6228, allocations: 1.343 MB / 0.6925 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.623, allocations: 89.89 kB / 0.6926 GB, free: 13.97 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.01513/0.6381, allocations: 8.857 MB / 0.7013 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.6386, allocations: 390.4 kB / 0.7016 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.6387, allocations: 44 kB / 0.7017 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04612/0.6848, allocations: 24.92 MB / 0.726 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.6851, allocations: 123.5 kB / 0.7261 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.6857, allocations: 251.1 kB / 0.7264 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2916/0.9772, allocations: 12.36 MB / 0.7384 GB, free: 72.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.9772, allocations: 0 / 0.7384 GB, free: 72.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9772, allocations: 6.469 kB / 0.7384 GB, free: 72.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.9772, allocations: 0 / 0.7384 GB, free: 72.71 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.007067/0.9843, allocations: 2.588 MB / 0.741 GB, free: 71.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.9844, allocations: 14.11 kB / 0.741 GB, free: 71.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.471e-05/0.9844, allocations: 12.5 kB / 0.741 GB, free: 71.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.9845, allocations: 85.89 kB / 0.7411 GB, free: 71.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.9851, allocations: 87.81 kB / 0.7412 GB, free: 71.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.9856, allocations: 283.1 kB / 0.7414 GB, free: 71.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.9856, allocations: 32.47 kB / 0.7415 GB, free: 71.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.9857, allocations: 31.53 kB / 0.7415 GB, free: 71.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.987, allocations: 0.7585 MB / 0.7422 GB, free: 70.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.987, allocations: 4.797 kB / 0.7422 GB, free: 70.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.9871, allocations: 15.64 kB / 0.7423 GB, free: 70.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.9871, allocations: 18.42 kB / 0.7423 GB, free: 70.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.9884, allocations: 0.5606 MB / 0.7428 GB, free: 70.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.9906, allocations: 1.712 MB / 0.7445 GB, free: 69.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.9917, allocations: 481.9 kB / 0.745 GB, free: 69.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.9922, allocations: 315.2 kB / 0.7453 GB, free: 69.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.188/1.18, allocations: 44.04 MB / 0.7883 GB, free: 69.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/1.18, allocations: 40.23 kB / 0.7883 GB, free: 69.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/1.18, allocations: 0 / 0.7883 GB, free: 69.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005615/1.186, allocations: 2.244 MB / 0.7905 GB, free: 68.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.186, allocations: 55.69 kB / 0.7905 GB, free: 68.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/1.186, allocations: 253.6 kB / 0.7908 GB, free: 68.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/1.186, allocations: 34.8 kB / 0.7908 GB, free: 68.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/1.186, allocations: 193.6 kB / 0.791 GB, free: 68.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.186, allocations: 283.9 kB / 0.7913 GB, free: 68.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/1.187, allocations: 94.53 kB / 0.7914 GB, free: 68.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/1.187, allocations: 357.3 kB / 0.7917 GB, free: 67.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/1.187, allocations: 289.7 kB / 0.792 GB, free: 67.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/1.188, allocations: 413.4 kB / 0.7924 GB, free: 67.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/1.188, allocations: 0.7229 MB / 0.7931 GB, free: 67.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.188, allocations: 3.219 kB / 0.7931 GB, free: 67.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001265/1.19, allocations: 0.815 MB / 0.7939 GB, free: 67.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.19, allocations: 9.969 kB / 0.7939 GB, free: 67.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.19, allocations: 5.938 kB / 0.7939 GB, free: 67.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/1.19, allocations: 65.17 kB / 0.794 GB, free: 67.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/1.191, allocations: 120.9 kB / 0.7941 GB, free: 67.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06471/1.255, allocations: 19.69 MB / 0.8133 GB, free: 48.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/1.256, allocations: 25.67 kB / 0.8133 GB, free: 48.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/1.256, allocations: 19.42 kB / 0.8133 GB, free: 48.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002612/1.256, allocations: 194.5 kB / 0.8135 GB, free: 48.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/1.256, allocations: 43.72 kB / 0.8136 GB, free: 48.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/1.258, allocations: 1.612 MB / 0.8151 GB, free: 47.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.258, allocations: 11.72 kB / 0.8152 GB, free: 47.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.258, allocations: 2.906 kB / 0.8152 GB, free: 47.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.259, allocations: 1.21 MB / 0.8163 GB, free: 46.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.261, allocations: 1.592 MB / 0.8179 GB, free: 44.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.261, allocations: 0 / 0.8179 GB, free: 44.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/1.261, allocations: 81.33 kB / 0.818 GB, free: 44.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/1.261, allocations: 105 kB / 0.8181 GB, free: 44.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/1.261, allocations: 15.75 kB / 0.8181 GB, free: 44.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/1.262, allocations: 1.888 MB / 0.8199 GB, free: 42.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.262, allocations: 0 / 0.8199 GB, free: 42.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/1.264, allocations: 1.292 MB / 0.8212 GB, free: 41.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.264, allocations: 43.67 kB / 0.8212 GB, free: 41.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/1.264, allocations: 11.81 kB / 0.8212 GB, free: 41.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/1.264, allocations: 23.59 kB / 0.8213 GB, free: 41.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/1.264, allocations: 43.61 kB / 0.8213 GB, free: 41.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.264, allocations: 11.88 kB / 0.8213 GB, free: 41.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001939/1.265, allocations: 245.8 kB / 0.8216 GB, free: 41.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.265, allocations: 0 / 0.8216 GB, free: 41.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009293/1.274, allocations: 3.573 MB / 0.825 GB, free: 38.19 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.h) * Number of discrete variables: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0206/1.294, allocations: 6.297 MB / 0.8312 GB, free: 32.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00206/1.297, allocations: 0.9709 MB / 0.8321 GB, free: 32.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.297, allocations: 0.875 kB / 0.8321 GB, free: 32.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/1.297, allocations: 489.8 kB / 0.8326 GB, free: 31.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.299, allocations: 414.1 kB / 0.833 GB, free: 31.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.312, allocations: 6.429 MB / 0.8393 GB, free: 25.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/1.312, allocations: 250.2 kB / 0.8395 GB, free: 25.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004119/1.313, allocations: 146.5 kB / 0.8397 GB, free: 25.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.313, allocations: 170.1 kB / 0.8398 GB, free: 25.45 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/1.313, allocations: 0 / 0.8398 GB, free: 25.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/1.529, allocations: 134.4 MB / 0.9711 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.94, allocations: 12.02 kB / 0.9711 GB, free: 3.266 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.81297217204701] Failed to read output from testmodel.py, exit status != 0: 20.198688405915163 20.367156286 19.387025675 Calling exit ...