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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001187/0.001187, allocations: 191.2 kB / 16.25 MB, free: 6.625 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.307/1.307, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0457/0.0457, allocations: 9.08 MB / 278.5 MB, free: 12.35 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.001353/0.001353, allocations: 71.84 kB / 337.6 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08829, allocations: 48.15 MB / 385.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3209/0.4093, allocations: 128 MB / 0.5018 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3746/0.7839, allocations: 110.8 MB / 0.6099 GB, free: 260 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.7847, allocations: 6.031 kB / 0.6099 GB, free: 260 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.7878, allocations: 1.283 MB / 0.6112 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.7919, allocations: 1.552 MB / 0.6127 GB, free: 236 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07991/0.8718, allocations: 26.39 MB / 0.6385 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.8741, allocations: 1.401 MB / 0.6398 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.8744, allocations: 127 kB / 0.64 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01799/0.8924, allocations: 10.65 MB / 0.6504 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.8931, allocations: 395.8 kB / 0.6507 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.8932, allocations: 44 kB / 0.6508 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06287/0.9561, allocations: 33.77 MB / 0.6838 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.9564, allocations: 130.4 kB / 0.6839 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.9571, allocations: 305.1 kB / 0.6842 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04587/1.003, allocations: 13.97 MB / 0.6978 GB, free: 6.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.003, allocations: 3.938 kB / 0.6978 GB, free: 6.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/1.003, allocations: 0 / 0.6978 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/1.003, allocations: 0 / 0.6978 GB, free: 6.258 MB / 494.1 MB 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.00652/1.01, allocations: 2.567 MB / 0.7003 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.01, allocations: 12.03 kB / 0.7003 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.237e-05/1.01, allocations: 83.2 kB / 0.7004 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/1.01, allocations: 83.39 kB / 0.7005 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/1.011, allocations: 343 kB / 0.7008 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.011, allocations: 28.66 kB / 0.7009 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/1.011, allocations: 32 kB / 0.7009 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.012, allocations: 0.6002 MB / 0.7015 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.012, allocations: 3.906 kB / 0.7015 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/1.012, allocations: 16.5 kB / 0.7015 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/1.012, allocations: 20.84 kB / 0.7015 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.013, allocations: 0.5481 MB / 0.702 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.016, allocations: 2.455 MB / 0.7044 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/1.017, allocations: 492 kB / 0.7049 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/1.017, allocations: 345.9 kB / 0.7052 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4493/1.467, allocations: 139 MB / 0.841 GB, free: 279.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.467, allocations: 37.06 kB / 0.841 GB, free: 279.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=77): time 3.387e-06/1.467, allocations: 3.812 kB / 0.841 GB, free: 279.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.006196/1.473, allocations: 2.354 MB / 0.8433 GB, free: 277.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/1.473, allocations: 55.31 kB / 0.8434 GB, free: 277.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/1.473, allocations: 252.8 kB / 0.8436 GB, free: 277.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/1.473, allocations: 30.92 kB / 0.8436 GB, free: 277.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/1.473, allocations: 194.8 kB / 0.8438 GB, free: 277.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/1.474, allocations: 264.9 kB / 0.8441 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.474, allocations: 100.5 kB / 0.8442 GB, free: 277.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/1.474, allocations: 354.7 kB / 0.8445 GB, free: 276.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/1.474, allocations: 270.9 kB / 0.8448 GB, free: 276.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/1.475, allocations: 397.3 kB / 0.8451 GB, free: 276.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/1.476, allocations: 0.7023 MB / 0.8458 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.476, allocations: 0 / 0.8458 GB, free: 275.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001308/1.477, allocations: 0.7931 MB / 0.8466 GB, free: 275.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.477, allocations: 3.969 kB / 0.8466 GB, free: 275.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.477, allocations: 6.25 kB / 0.8466 GB, free: 275.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/1.477, allocations: 61.05 kB / 0.8467 GB, free: 275.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/1.478, allocations: 146.5 kB / 0.8468 GB, free: 275.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09322/1.571, allocations: 24.2 MB / 0.8704 GB, free: 254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/1.572, allocations: 47.88 kB / 0.8705 GB, free: 253.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/1.572, allocations: 16 kB / 0.8705 GB, free: 253.9 MB / 0.5919 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.0002754/1.572, allocations: 189.2 kB / 0.8707 GB, free: 253.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.572, allocations: 39.53 kB / 0.8707 GB, free: 253.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.574, allocations: 1.723 MB / 0.8724 GB, free: 251.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.574, allocations: 11.83 kB / 0.8724 GB, free: 251.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.574, allocations: 7.938 kB / 0.8724 GB, free: 251.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/1.576, allocations: 1.292 MB / 0.8737 GB, free: 250.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/1.578, allocations: 1.754 MB / 0.8754 GB, free: 248.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.578, allocations: 3.938 kB / 0.8754 GB, free: 248.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/1.578, allocations: 71.95 kB / 0.8755 GB, free: 248.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/1.579, allocations: 162.3 kB / 0.8756 GB, free: 248.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/1.579, allocations: 12 kB / 0.8756 GB, free: 248.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/1.58, allocations: 2.567 MB / 0.8781 GB, free: 245.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.58, allocations: 0 / 0.8781 GB, free: 245.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/1.582, allocations: 1.384 MB / 0.8795 GB, free: 244.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.582, allocations: 112.7 kB / 0.8796 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/1.582, allocations: 15.94 kB / 0.8796 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/1.582, allocations: 47.81 kB / 0.8797 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.583, allocations: 39.94 kB / 0.8797 GB, free: 244 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/1.583, allocations: 15.98 kB / 0.8797 GB, free: 244 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001855/1.583, allocations: 223.1 kB / 0.8799 GB, free: 243.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/1.583, allocations: 0 / 0.8799 GB, free: 243.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008363/1.591, allocations: 3.181 MB / 0.883 GB, free: 241 MB / 0.5919 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.01746/1.609, allocations: 5.703 MB / 0.8886 GB, free: 235.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.611, allocations: 1.05 MB / 0.8896 GB, free: 234.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.611, allocations: 0 / 0.8896 GB, free: 234.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/1.612, allocations: 0.5074 MB / 0.8901 GB, free: 234.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.614, allocations: 406.5 kB / 0.8905 GB, free: 233.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.627, allocations: 6.292 MB / 0.8966 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.627, allocations: 0.8565 MB / 0.8975 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004924/1.628, allocations: 141.2 kB / 0.8976 GB, free: 226.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.628, allocations: 167.4 kB / 0.8978 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/1.628, allocations: 0 / 0.8978 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/1.804, allocations: 124.9 MB / 1.02 GB, free: 101 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.804, allocations: 248.7 kB / 1.02 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.029/7.833, allocations: 4.062 kB / 1.02 GB, free: 100.7 MB / 0.5919 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)