Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001286/0.001286, allocations: 97.88 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.001394/0.001394, allocations: 216.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.33/1.33, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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.04999/0.04999, allocations: 9.154 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.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",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.002125/0.002125, allocations: 63.34 kB / 411.9 MB, free: 46.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07473/0.07686, allocations: 50.76 MB / 462.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3192/0.396, allocations: 115 MB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.09897/0.495, allocations: 98.66 MB / 0.6604 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.4955, allocations: 11.94 kB / 0.6604 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.4983, allocations: 1.262 MB / 0.6616 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.5018, allocations: 1.587 MB / 0.6632 GB, free: 12.2 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.07417/0.5759, allocations: 31.43 MB / 0.6939 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.5779, allocations: 1.437 MB / 0.6953 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.5781, allocations: 93.89 kB / 0.6954 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.5793, allocations: 0.6228 MB / 0.696 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.5799, allocations: 402 kB / 0.6964 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.5799, allocations: 40 kB / 0.6964 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04773/0.6277, allocations: 25.13 MB / 0.721 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.628, allocations: 119.6 kB / 0.7211 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.6285, allocations: 259 kB / 0.7213 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.6648, allocations: 12.23 MB / 0.7333 GB, free: 4.254 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6648, allocations: 4 kB / 0.7333 GB, free: 4.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6648, allocations: 0 / 0.7333 GB, free: 4.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.6648, allocations: 0 / 0.7333 GB, free: 4.25 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.006915/0.6717, allocations: 2.581 MB / 0.7358 GB, free: 1.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6718, allocations: 11.98 kB / 0.7358 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.043e-05/0.6718, allocations: 20.59 kB / 0.7358 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.6719, allocations: 82.52 kB / 0.7359 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.6725, allocations: 91.62 kB / 0.736 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.673, allocations: 280.3 kB / 0.7362 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.673, allocations: 32.59 kB / 0.7363 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.6731, allocations: 32 kB / 0.7363 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.6746, allocations: 0.7673 MB / 0.7371 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6746, allocations: 0 / 0.7371 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.6747, allocations: 19.94 kB / 0.7371 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.6747, allocations: 11.98 kB / 0.7371 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1742/0.8489, allocations: 0.5523 MB / 0.7376 GB, free: 222.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.8509, allocations: 1.711 MB / 0.7393 GB, free: 222 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.852, allocations: 482.5 kB / 0.7398 GB, free: 222 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.8525, allocations: 315.8 kB / 0.7401 GB, free: 221.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1806/1.033, allocations: 44.04 MB / 0.7831 GB, free: 191.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.033, allocations: 42.78 kB / 0.7831 GB, free: 191.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/1.033, allocations: 0 / 0.7831 GB, free: 191.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005117/1.038, allocations: 2.246 MB / 0.7853 GB, free: 188.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/1.038, allocations: 55.41 kB / 0.7854 GB, free: 188.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.039, allocations: 249 kB / 0.7856 GB, free: 188.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.039, allocations: 33.7 kB / 0.7856 GB, free: 188.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/1.039, allocations: 184.1 kB / 0.7858 GB, free: 188.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.039, allocations: 285.3 kB / 0.7861 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.039, allocations: 98.06 kB / 0.7862 GB, free: 188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/1.039, allocations: 350.8 kB / 0.7865 GB, free: 187.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/1.039, allocations: 289.2 kB / 0.7868 GB, free: 187.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.04, allocations: 398.6 kB / 0.7872 GB, free: 186.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/1.041, allocations: 0.7309 MB / 0.7879 GB, free: 186.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.041, allocations: 2.156 kB / 0.7879 GB, free: 186.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001179/1.042, allocations: 0.8123 MB / 0.7887 GB, free: 185.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.042, allocations: 8.438 kB / 0.7887 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.042, allocations: 8 kB / 0.7887 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/1.042, allocations: 62.98 kB / 0.7887 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.042, allocations: 95.88 kB / 0.7888 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06135/1.104, allocations: 16.42 MB / 0.8049 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/1.104, allocations: 31.91 kB / 0.8049 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/1.104, allocations: 16 kB / 0.8049 GB, free: 168.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0002295/1.104, allocations: 181.8 kB / 0.8051 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/1.104, allocations: 47.66 kB / 0.8051 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/1.106, allocations: 1.587 MB / 0.8067 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.106, allocations: 14.17 kB / 0.8067 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.106, allocations: 7.062 kB / 0.8067 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/1.107, allocations: 1.173 MB / 0.8078 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.109, allocations: 1.548 MB / 0.8094 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.109, allocations: 0 / 0.8094 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/1.109, allocations: 87.91 kB / 0.8094 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/1.109, allocations: 40.81 kB / 0.8095 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/1.109, allocations: 11.98 kB / 0.8095 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006483/1.11, allocations: 1.319 MB / 0.8108 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.11, allocations: 0 / 0.8108 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/1.111, allocations: 1.213 MB / 0.812 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/1.111, allocations: 46.41 kB / 0.812 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/1.111, allocations: 8 kB / 0.812 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/1.112, allocations: 23.97 kB / 0.812 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.112, allocations: 51.33 kB / 0.8121 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/1.112, allocations: 12 kB / 0.8121 GB, free: 160.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001828/1.112, allocations: 247.1 kB / 0.8123 GB, free: 160.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/1.112, allocations: 0 / 0.8123 GB, free: 160.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006883/1.119, allocations: 3.576 MB / 0.8158 GB, free: 157.1 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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01615/1.135, allocations: 6.147 MB / 0.8218 GB, free: 151.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.137, allocations: 0.9248 MB / 0.8227 GB, free: 150.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.137, allocations: 0 / 0.8227 GB, free: 150.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/1.137, allocations: 475 kB / 0.8232 GB, free: 150 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.139, allocations: 408.5 kB / 0.8236 GB, free: 149.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/1.149, allocations: 6.404 MB / 0.8298 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/1.149, allocations: 250.3 kB / 0.8301 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003657/1.149, allocations: 156.5 kB / 0.8302 GB, free: 142.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.15, allocations: 167.4 kB / 0.8304 GB, free: 142.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/1.15, allocations: 0 / 0.8304 GB, free: 142.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/1.318, allocations: 134.2 MB / 0.9614 GB, free: 8.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/19.17, allocations: 3.953 kB / 0.9614 GB, free: 8.117 MB / 0.545 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.634389952989295] Failed to read output from testmodel.py, exit status != 0: 19.425710491952486 19.615146059 18.947360156 Calling exit ...