Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",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.0007428/0.0007429, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008189/0.0008188, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.1 MB, free: 5.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04137/0.04137, allocations: 9.067 MB / 279.4 MB, free: 12.13 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.0004749/0.0004749, allocations: 12 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07634/0.07683, allocations: 49.19 MB / 388.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2804/0.3572, allocations: 132.4 MB / 0.5087 GB, free: 3.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2747/0.632, allocations: 91.39 MB / 0.5979 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.6324, allocations: 7.531 kB / 0.5979 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.6347, allocations: 1.066 MB / 0.5989 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.6374, allocations: 1.323 MB / 0.6002 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05121/0.6886, allocations: 22.63 MB / 0.6223 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.6902, allocations: 1.578 MB / 0.6239 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.6904, allocations: 97.95 kB / 0.624 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.7032, allocations: 9.788 MB / 0.6335 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.7036, allocations: 362.7 kB / 0.6339 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.7037, allocations: 20 kB / 0.6339 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05691/0.7606, allocations: 28.64 MB / 0.6619 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.7609, allocations: 86.86 kB / 0.6619 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.7614, allocations: 147.2 kB / 0.6621 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02614/0.7876, allocations: 8.911 MB / 0.6708 GB, free: 3.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7876, allocations: 0 / 0.6708 GB, free: 3.188 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7876, allocations: 0 / 0.6708 GB, free: 3.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.7877, allocations: 0 / 0.6708 GB, free: 3.188 MB / 462.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.005989/0.7937, allocations: 2.582 MB / 0.6733 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7937, allocations: 8.031 kB / 0.6733 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.825e-05/0.7938, allocations: 84.14 kB / 0.6734 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.7942, allocations: 85.48 kB / 0.6735 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.7946, allocations: 330.6 kB / 0.6738 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.7947, allocations: 31.53 kB / 0.6738 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.7947, allocations: 32.66 kB / 0.6739 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7958, allocations: 0.5925 MB / 0.6744 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7958, allocations: 0 / 0.6744 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.7958, allocations: 15.55 kB / 0.6745 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.7959, allocations: 16.31 kB / 0.6745 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.7969, allocations: 0.546 MB / 0.675 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.7993, allocations: 2.49 MB / 0.6774 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.8002, allocations: 0.4952 MB / 0.6779 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.8006, allocations: 349 kB / 0.6782 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2822/1.083, allocations: 111.4 MB / 0.7871 GB, free: 295.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.083, allocations: 38.91 kB / 0.7871 GB, free: 295.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/1.083, allocations: 0 / 0.7871 GB, free: 295.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005652/1.089, allocations: 2.502 MB / 0.7896 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/1.089, allocations: 56.36 kB / 0.7896 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.089, allocations: 254.4 kB / 0.7899 GB, free: 295 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.089, allocations: 34.8 kB / 0.7899 GB, free: 295 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/1.089, allocations: 189.6 kB / 0.7901 GB, free: 294.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.089, allocations: 268.4 kB / 0.7903 GB, free: 294.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/1.089, allocations: 9.531 kB / 0.7903 GB, free: 294.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/1.089, allocations: 359.5 kB / 0.7907 GB, free: 294.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/1.09, allocations: 288.9 kB / 0.791 GB, free: 294.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/1.09, allocations: 413.9 kB / 0.7914 GB, free: 294.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/1.091, allocations: 336.5 kB / 0.7917 GB, free: 294.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.091, allocations: 1.125 kB / 0.7917 GB, free: 294.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001344/1.092, allocations: 0.8414 MB / 0.7925 GB, free: 294.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.092, allocations: 7.172 kB / 0.7925 GB, free: 294.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.092, allocations: 2.25 kB / 0.7925 GB, free: 294.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/1.093, allocations: 84.33 kB / 0.7926 GB, free: 294.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/1.093, allocations: 115.3 kB / 0.7927 GB, free: 294.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/1.131, allocations: 13.23 MB / 0.8056 GB, free: 288.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/1.132, allocations: 48.31 kB / 0.8057 GB, free: 288.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/1.132, allocations: 23.47 kB / 0.8057 GB, free: 288.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002302/1.132, allocations: 191 kB / 0.8059 GB, free: 288 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/1.132, allocations: 42.91 kB / 0.8059 GB, free: 288 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.134, allocations: 1.752 MB / 0.8076 GB, free: 287.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.134, allocations: 10.27 kB / 0.8076 GB, free: 287.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.134, allocations: 2.938 kB / 0.8076 GB, free: 287.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.135, allocations: 1.288 MB / 0.8089 GB, free: 286.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/1.137, allocations: 1.78 MB / 0.8106 GB, free: 285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.137, allocations: 0 / 0.8106 GB, free: 285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/1.137, allocations: 87.02 kB / 0.8107 GB, free: 285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/1.137, allocations: 124.2 kB / 0.8108 GB, free: 285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/1.137, allocations: 8.969 kB / 0.8108 GB, free: 284.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/1.138, allocations: 1.993 MB / 0.8128 GB, free: 283 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.138, allocations: 0 / 0.8128 GB, free: 283 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.14, allocations: 1.461 MB / 0.8142 GB, free: 282.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/1.14, allocations: 136.2 kB / 0.8143 GB, free: 282 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/1.14, allocations: 8 kB / 0.8143 GB, free: 282 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/1.141, allocations: 50.05 kB / 0.8144 GB, free: 282 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/1.141, allocations: 57.28 kB / 0.8144 GB, free: 281.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/1.141, allocations: 11.89 kB / 0.8145 GB, free: 281.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001582/1.141, allocations: 221.8 kB / 0.8147 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.61e-07/1.141, allocations: 0 / 0.8147 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006344/1.147, allocations: 2.983 MB / 0.8176 GB, free: 281.5 MB / 0.5762 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/1.162, allocations: 5.673 MB / 0.8231 GB, free: 278.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.164, allocations: 1.07 MB / 0.8242 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.164, allocations: 0 / 0.8242 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006404/1.164, allocations: 0.569 MB / 0.8247 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.166, allocations: 323.3 kB / 0.825 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/1.174, allocations: 4.42 MB / 0.8293 GB, free: 272 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.174, allocations: 0.8567 MB / 0.8302 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003798/1.174, allocations: 122.4 kB / 0.8303 GB, free: 271 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/1.174, allocations: 171.4 kB / 0.8305 GB, free: 270.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/1.174, allocations: 0 / 0.8305 GB, free: 270.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/1.308, allocations: 116.9 MB / 0.9447 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.308, allocations: 229.8 kB / 0.9449 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.051/7.359, allocations: 3.938 kB / 0.9449 GB, free: 153.6 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) Environment - environmentSimulation: