Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",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.0007882/0.0007882, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005309/0.005309, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.289/1.289, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04618/0.04618, allocations: 9.079 MB / 279.8 MB, free: 12.14 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.0004495/0.0004496, allocations: 12 kB / 339.8 MB, free: 25.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07173, allocations: 49.19 MB / 389 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2687/0.3404, allocations: 128.8 MB / 0.5057 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3/0.6405, allocations: 111.5 MB / 0.6146 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.641, allocations: 4.312 kB / 0.6146 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.6437, allocations: 1.183 MB / 0.6158 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.6468, allocations: 1.462 MB / 0.6172 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0565/0.7033, allocations: 25.14 MB / 0.6418 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.7053, allocations: 1.835 MB / 0.6436 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.7055, allocations: 103.9 kB / 0.6437 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01499/0.7205, allocations: 9.359 MB / 0.6528 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.721, allocations: 379.5 kB / 0.6532 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.7211, allocations: 20.19 kB / 0.6532 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05195/0.773, allocations: 31.44 MB / 0.6839 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.7733, allocations: 96.8 kB / 0.684 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.7738, allocations: 309.3 kB / 0.6843 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03704/0.8109, allocations: 13.69 MB / 0.6976 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8109, allocations: 0 / 0.6976 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.8109, allocations: 0 / 0.6976 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.8109, allocations: 0 / 0.6976 GB, free: 15.7 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.005806/0.8168, allocations: 2.492 MB / 0.7001 GB, free: 13.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.8168, allocations: 8.031 kB / 0.7001 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/0.8169, allocations: 87.52 kB / 0.7002 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.8175, allocations: 87.3 kB / 0.7003 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.8179, allocations: 335.2 kB / 0.7006 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.818, allocations: 37.72 kB / 0.7006 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.818, allocations: 31.69 kB / 0.7006 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.8192, allocations: 0.6098 MB / 0.7012 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.8192, allocations: 0 / 0.7012 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.8193, allocations: 15.81 kB / 0.7012 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.8193, allocations: 21.28 kB / 0.7013 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.8206, allocations: 0.5704 MB / 0.7018 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.8229, allocations: 2.474 MB / 0.7042 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.8239, allocations: 498.8 kB / 0.7047 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.8244, allocations: 353.9 kB / 0.7051 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3656/1.19, allocations: 135.8 MB / 0.8377 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.19, allocations: 38.09 kB / 0.8377 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.806e-06/1.19, allocations: 0 / 0.8377 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005495/1.196, allocations: 2.424 MB / 0.8401 GB, free: 257 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.196, allocations: 60.97 kB / 0.8401 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/1.196, allocations: 265.2 kB / 0.8404 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.196, allocations: 29.7 kB / 0.8404 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/1.196, allocations: 188.9 kB / 0.8406 GB, free: 256.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.196, allocations: 265.2 kB / 0.8409 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/1.196, allocations: 61.5 kB / 0.8409 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/1.196, allocations: 354.7 kB / 0.8413 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/1.197, allocations: 288.4 kB / 0.8415 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/1.197, allocations: 400.3 kB / 0.8419 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/1.198, allocations: 0.7219 MB / 0.8426 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/1.198, allocations: 0 / 0.8426 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001274/1.2, allocations: 0.8278 MB / 0.8434 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.2, allocations: 6.344 kB / 0.8434 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.2, allocations: 3.969 kB / 0.8434 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/1.2, allocations: 66.17 kB / 0.8435 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/1.2, allocations: 145.4 kB / 0.8436 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08929/1.29, allocations: 25.08 MB / 0.8681 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/1.29, allocations: 44.03 kB / 0.8682 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/1.29, allocations: 19.98 kB / 0.8682 GB, free: 233.7 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.0002232/1.291, allocations: 197.7 kB / 0.8684 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.291, allocations: 47.38 kB / 0.8684 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/1.292, allocations: 1.74 MB / 0.8701 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.292, allocations: 11.98 kB / 0.8701 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.292, allocations: 0 / 0.8701 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/1.294, allocations: 1.326 MB / 0.8714 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.295, allocations: 1.776 MB / 0.8732 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.295, allocations: 0 / 0.8732 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/1.296, allocations: 91.81 kB / 0.8733 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/1.296, allocations: 179.7 kB / 0.8734 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/1.296, allocations: 8 kB / 0.8734 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/1.297, allocations: 2.475 MB / 0.8758 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.297, allocations: 0 / 0.8758 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/1.299, allocations: 1.427 MB / 0.8772 GB, free: 224 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/1.299, allocations: 136.4 kB / 0.8774 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/1.299, allocations: 11.94 kB / 0.8774 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.299, allocations: 43.97 kB / 0.8774 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/1.299, allocations: 47.92 kB / 0.8775 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/1.299, allocations: 8 kB / 0.8775 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001652/1.3, allocations: 227 kB / 0.8777 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.3, allocations: 4 kB / 0.8777 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006672/1.306, allocations: 3.187 MB / 0.8808 GB, free: 220.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.0146/1.321, allocations: 5.859 MB / 0.8865 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00181/1.323, allocations: 1.034 MB / 0.8875 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.323, allocations: 0 / 0.8875 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006484/1.323, allocations: 0.5269 MB / 0.8881 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.325, allocations: 402.7 kB / 0.8884 GB, free: 213.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/1.335, allocations: 6.431 MB / 0.8947 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/1.335, allocations: 0.8488 MB / 0.8955 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003942/1.336, allocations: 144 kB / 0.8957 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.336, allocations: 163.4 kB / 0.8958 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/1.336, allocations: 4 kB / 0.8958 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/1.476, allocations: 124.7 MB / 1.018 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/1.476, allocations: 242.7 kB / 1.018 GB, free: 80.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/7.759, allocations: 0 / 1.018 GB, free: 80.42 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1)