Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005375/0.005375, allocations: 99.58 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 193.6 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05383/0.05383, allocations: 9.091 MB / 279 MB, free: 12.06 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.89 kB / 387 MB, free: 8.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 48.16 MB / 435.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.1594/0.4668, allocations: 128.6 MB / 0.5506 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4499/0.9168, allocations: 111 MB / 0.659 GB, free: 272 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007392/0.9175, allocations: 8.781 kB / 0.659 GB, free: 272 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.9209, allocations: 1.371 MB / 0.6603 GB, free: 256 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.9253, allocations: 1.653 MB / 0.662 GB, free: 208 kB / 478.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.08896/1.014, allocations: 29.24 MB / 0.6905 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/1.017, allocations: 1.402 MB / 0.6919 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/1.017, allocations: 125.3 kB / 0.692 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01849/1.036, allocations: 10.49 MB / 0.7022 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/1.036, allocations: 379.3 kB / 0.7026 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.599e-05/1.036, allocations: 44 kB / 0.7027 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07339/1.11, allocations: 34.53 MB / 0.7364 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/1.11, allocations: 122.6 kB / 0.7365 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/1.111, allocations: 301 kB / 0.7368 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05593/1.167, allocations: 13.96 MB / 0.7504 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.167, allocations: 0 / 0.7504 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.237e-06/1.167, allocations: 0 / 0.7504 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.167, allocations: 0 / 0.7504 GB, free: 0.668 MB / 0.5294 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.007547/1.174, allocations: 2.691 MB / 0.753 GB, free: 13.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.174, allocations: 8.031 kB / 0.753 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/1.174, allocations: 82.52 kB / 0.7531 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/1.175, allocations: 83.64 kB / 0.7532 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/1.176, allocations: 347.4 kB / 0.7535 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/1.176, allocations: 32.66 kB / 0.7536 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/1.176, allocations: 35.94 kB / 0.7536 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.177, allocations: 0.601 MB / 0.7542 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.177, allocations: 0 / 0.7542 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/1.177, allocations: 12 kB / 0.7542 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/1.177, allocations: 25.53 kB / 0.7542 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/1.179, allocations: 0.5493 MB / 0.7548 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/1.182, allocations: 2.46 MB / 0.7572 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.183, allocations: 499.2 kB / 0.7576 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/1.183, allocations: 334 kB / 0.758 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4878/1.671, allocations: 139 MB / 0.8937 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.671, allocations: 33.03 kB / 0.8937 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 3.527e-06/1.671, allocations: 3.938 kB / 0.8937 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.00682/1.678, allocations: 2.344 MB / 0.896 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.678, allocations: 59.16 kB / 0.8961 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/1.678, allocations: 265.2 kB / 0.8963 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/1.678, allocations: 33.7 kB / 0.8964 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/1.679, allocations: 193.3 kB / 0.8965 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.679, allocations: 276.8 kB / 0.8968 GB, free: 217.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.679, allocations: 98.06 kB / 0.8969 GB, free: 217 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/1.679, allocations: 362 kB / 0.8972 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/1.679, allocations: 265.3 kB / 0.8975 GB, free: 216.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/1.68, allocations: 390.7 kB / 0.8979 GB, free: 216 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/1.681, allocations: 0.7001 MB / 0.8986 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.681, allocations: 0 / 0.8986 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001378/1.682, allocations: 0.7979 MB / 0.8993 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.682, allocations: 7.312 kB / 0.8993 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.682, allocations: 4 kB / 0.8993 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/1.683, allocations: 61.67 kB / 0.8994 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/1.683, allocations: 138.8 kB / 0.8995 GB, free: 214.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06475/1.748, allocations: 18.44 MB / 0.9175 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/1.748, allocations: 31.97 kB / 0.9176 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/1.749, allocations: 16 kB / 0.9176 GB, free: 195.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * 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, 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.0002877/1.749, allocations: 196.1 kB / 0.9178 GB, free: 195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/1.749, allocations: 47.66 kB / 0.9178 GB, free: 195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/1.751, allocations: 1.701 MB / 0.9195 GB, free: 193.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.751, allocations: 17.94 kB / 0.9195 GB, free: 193.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.751, allocations: 3.938 kB / 0.9195 GB, free: 193.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/1.752, allocations: 1.292 MB / 0.9208 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.754, allocations: 1.752 MB / 0.9225 GB, free: 190 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.754, allocations: 5.938 kB / 0.9225 GB, free: 190 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/1.755, allocations: 75.88 kB / 0.9226 GB, free: 190 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/1.755, allocations: 170 kB / 0.9227 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/1.755, allocations: 11.94 kB / 0.9227 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/1.756, allocations: 2.563 MB / 0.9252 GB, free: 187 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.756, allocations: 0 / 0.9252 GB, free: 187 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/1.758, allocations: 1.382 MB / 0.9266 GB, free: 185.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.758, allocations: 123.3 kB / 0.9267 GB, free: 185.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/1.758, allocations: 15.94 kB / 0.9267 GB, free: 185.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/1.759, allocations: 23.98 kB / 0.9267 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.759, allocations: 47.98 kB / 0.9268 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/1.759, allocations: 12 kB / 0.9268 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001905/1.759, allocations: 223.1 kB / 0.927 GB, free: 185.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.759, allocations: 0 / 0.927 GB, free: 185.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00955/1.768, allocations: 3.574 MB / 0.9305 GB, free: 182 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01952/1.788, allocations: 6.187 MB / 0.9365 GB, free: 176.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002484/1.79, allocations: 1.045 MB / 0.9376 GB, free: 175.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.791, allocations: 3.938 kB / 0.9376 GB, free: 175.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/1.791, allocations: 0.5075 MB / 0.9381 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.793, allocations: 393.1 kB / 0.9384 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.806, allocations: 6.295 MB / 0.9446 GB, free: 167.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.806, allocations: 0.8487 MB / 0.9454 GB, free: 167 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004606/1.807, allocations: 145.1 kB / 0.9455 GB, free: 166.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/1.807, allocations: 175.3 kB / 0.9457 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/1.807, allocations: 3.938 kB / 0.9457 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/2.004, allocations: 133.1 MB / 1.076 GB, free: 33.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/19.06, allocations: 3.781 kB / 1.076 GB, free: 33.33 MB / 0.6075 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1)