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.0009665/0.0009665, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001016/0.001016, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.215/1.215, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04399/0.04399, allocations: 9.075 MB / 278.4 MB, free: 12.64 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.001298/0.001298, allocations: 67.91 kB / 337.4 MB, free: 25.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06897/0.07028, allocations: 48.16 MB / 385.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2536/0.324, allocations: 130.3 MB / 0.5039 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.299/0.623, allocations: 112.8 MB / 0.614 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.6235, allocations: 11.56 kB / 0.614 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.6261, allocations: 1.168 MB / 0.6151 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.629, allocations: 1.473 MB / 0.6166 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05584/0.6848, allocations: 24.79 MB / 0.6408 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.6865, allocations: 1.823 MB / 0.6426 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.6867, allocations: 95.36 kB / 0.6427 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.701, allocations: 9.734 MB / 0.6522 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.7015, allocations: 390.4 kB / 0.6525 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.7016, allocations: 22.69 kB / 0.6526 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04873/0.7503, allocations: 30.64 MB / 0.6825 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.7506, allocations: 95.38 kB / 0.6826 GB, free: 7.531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.7511, allocations: 282 kB / 0.6828 GB, free: 7.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03542/0.7866, allocations: 13.52 MB / 0.696 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7866, allocations: 0 / 0.696 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7866, allocations: 0 / 0.696 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.7866, allocations: 0 / 0.696 GB, free: 11.58 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.005161/0.7918, allocations: 2.578 MB / 0.6986 GB, free: 8.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7918, allocations: 12.03 kB / 0.6986 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.94e-05/0.7919, allocations: 86.5 kB / 0.6987 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.7925, allocations: 83.34 kB / 0.6987 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.7929, allocations: 336 kB / 0.6991 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.7929, allocations: 28.66 kB / 0.6991 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.793, allocations: 39.98 kB / 0.6991 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7942, allocations: 0.6033 MB / 0.6997 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7942, allocations: 3.906 kB / 0.6997 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.7942, allocations: 12 kB / 0.6997 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.7943, allocations: 26.27 kB / 0.6997 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.7954, allocations: 0.552 MB / 0.7003 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.7977, allocations: 2.456 MB / 0.7027 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.7986, allocations: 487.9 kB / 0.7031 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.7991, allocations: 341.4 kB / 0.7035 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3498/1.149, allocations: 139 MB / 0.8392 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.149, allocations: 34.69 kB / 0.8392 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.465e-06/1.149, allocations: 0 / 0.8392 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.004969/1.154, allocations: 2.339 MB / 0.8415 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/1.154, allocations: 63.19 kB / 0.8416 GB, free: 252.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/1.154, allocations: 257.4 kB / 0.8418 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/1.154, allocations: 33.67 kB / 0.8418 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/1.154, allocations: 192.8 kB / 0.842 GB, free: 252 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/1.154, allocations: 259.8 kB / 0.8423 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.154, allocations: 97.61 kB / 0.8424 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/1.155, allocations: 358.2 kB / 0.8427 GB, free: 251.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/1.155, allocations: 279.4 kB / 0.843 GB, free: 251.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/1.155, allocations: 385.2 kB / 0.8433 GB, free: 251 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/1.156, allocations: 0.6966 MB / 0.844 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.156, allocations: 0 / 0.844 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00115/1.157, allocations: 0.8038 MB / 0.8448 GB, free: 250.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.157, allocations: 7.938 kB / 0.8448 GB, free: 250.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.157, allocations: 3.938 kB / 0.8448 GB, free: 250.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/1.158, allocations: 60.08 kB / 0.8449 GB, free: 250.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.158, allocations: 142.3 kB / 0.845 GB, free: 250 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08769/1.246, allocations: 23.91 MB / 0.8684 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/1.246, allocations: 39.97 kB / 0.8684 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.247, allocations: 20 kB / 0.8684 GB, free: 227.4 MB / 0.5762 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.0002197/1.247, allocations: 190.7 kB / 0.8686 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/1.247, allocations: 43.44 kB / 0.8686 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.248, allocations: 1.722 MB / 0.8703 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.248, allocations: 8 kB / 0.8703 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.248, allocations: 3.188 kB / 0.8703 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/1.25, allocations: 1.296 MB / 0.8716 GB, free: 224 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.251, allocations: 1.748 MB / 0.8733 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.251, allocations: 0 / 0.8733 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/1.252, allocations: 83.88 kB / 0.8734 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/1.252, allocations: 166.4 kB / 0.8736 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.252, allocations: 4 kB / 0.8736 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000993/1.253, allocations: 2.472 MB / 0.876 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.253, allocations: 0 / 0.876 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.255, allocations: 1.383 MB / 0.8773 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/1.255, allocations: 120.5 kB / 0.8774 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/1.255, allocations: 11.94 kB / 0.8774 GB, free: 217.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/1.255, allocations: 40.8 kB / 0.8775 GB, free: 217.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/1.255, allocations: 44 kB / 0.8775 GB, free: 217.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.255, allocations: 11.98 kB / 0.8775 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001691/1.256, allocations: 227.1 kB / 0.8778 GB, free: 217.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.256, allocations: 0 / 0.8778 GB, free: 217.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006441/1.262, allocations: 3.185 MB / 0.8809 GB, free: 214.7 MB / 0.5762 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.01444/1.276, allocations: 5.705 MB / 0.8864 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001873/1.278, allocations: 1.023 MB / 0.8874 GB, free: 208.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.278, allocations: 4 kB / 0.8874 GB, free: 208.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/1.279, allocations: 0.5033 MB / 0.8879 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.281, allocations: 411.5 kB / 0.8883 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009962/1.291, allocations: 6.307 MB / 0.8945 GB, free: 201 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/1.291, allocations: 0.8527 MB / 0.8953 GB, free: 200.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004421/1.292, allocations: 140.9 kB / 0.8954 GB, free: 200 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.292, allocations: 171.3 kB / 0.8956 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/1.292, allocations: 0 / 0.8956 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.778/3.07, allocations: 124.8 MB / 1.017 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/3.07, allocations: 248.5 kB / 1.018 GB, free: 74.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.695/8.765, allocations: 0 / 1.018 GB, free: 74.54 MB / 0.5762 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)