Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",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.0008674/0.0008674, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009257/0.0009257, allocations: 177.3 kB / 15.95 MB, free: 216 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.268/1.268, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04186/0.04186, allocations: 9.061 MB / 279.4 MB, free: 12.26 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.0004844/0.0004844, allocations: 15.94 kB / 339.2 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07491/0.07541, allocations: 49.18 MB / 388.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2635/0.3389, allocations: 107.5 MB / 495.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08014/0.4191, allocations: 88.52 MB / 0.5707 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.4198, allocations: 11.94 kB / 0.5707 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.4229, allocations: 1.129 MB / 0.5718 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.426, allocations: 1.297 MB / 0.573 GB, free: 428 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2664/0.6925, allocations: 22.44 MB / 0.595 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.6937, allocations: 0.7886 MB / 0.5957 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.694, allocations: 96.22 kB / 0.5958 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.7099, allocations: 8.944 MB / 0.6045 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.7103, allocations: 265.8 kB / 0.6048 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.7103, allocations: 22.25 kB / 0.6048 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04364/0.754, allocations: 25.06 MB / 0.6293 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.7542, allocations: 87.45 kB / 0.6294 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.7545, allocations: 146.1 kB / 0.6295 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.7674, allocations: 6.448 MB / 0.6358 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7675, allocations: 0 / 0.6358 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7675, allocations: 0 / 0.6358 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.7675, allocations: 0 / 0.6358 GB, free: 14.4 MB / 446.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.004989/0.7725, allocations: 1.998 MB / 0.6378 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7726, allocations: 13.62 kB / 0.6378 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.103e-05/0.7726, allocations: 86.2 kB / 0.6379 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.7732, allocations: 90.7 kB / 0.638 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.7736, allocations: 323 kB / 0.6383 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.7736, allocations: 30.22 kB / 0.6383 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.7737, allocations: 34.53 kB / 0.6383 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.7748, allocations: 0.6062 MB / 0.6389 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7748, allocations: 5.375 kB / 0.6389 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.7749, allocations: 13.91 kB / 0.6389 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.7749, allocations: 19.59 kB / 0.639 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.776, allocations: 0.576 MB / 0.6395 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.7782, allocations: 2.557 MB / 0.642 GB, free: 25.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.7792, allocations: 0.5136 MB / 0.6425 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2298/1.009, allocations: 136.2 MB / 0.7755 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.009, allocations: 39.03 kB / 0.7755 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.848e-06/1.009, allocations: 3.984 kB / 0.7756 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.005958/1.015, allocations: 2.696 MB / 0.7782 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/1.015, allocations: 55.41 kB / 0.7782 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/1.015, allocations: 250.7 kB / 0.7785 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/1.015, allocations: 31.33 kB / 0.7785 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.016, allocations: 191.8 kB / 0.7787 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/1.016, allocations: 265.2 kB / 0.7789 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/1.016, allocations: 4.375 kB / 0.7789 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.016, allocations: 357.8 kB / 0.7793 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/1.016, allocations: 281 kB / 0.7796 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/1.017, allocations: 405.7 kB / 0.7799 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/1.017, allocations: 341.8 kB / 0.7803 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.017, allocations: 0 / 0.7803 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001389/1.019, allocations: 0.804 MB / 0.7811 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.019, allocations: 8.297 kB / 0.7811 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.019, allocations: 8 kB / 0.7811 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/1.019, allocations: 66.05 kB / 0.7811 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/1.02, allocations: 105.1 kB / 0.7812 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2397/1.259, allocations: 22.65 MB / 0.8034 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/1.26, allocations: 59.09 kB / 0.8034 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/1.26, allocations: 23.64 kB / 0.8034 GB, free: 310.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/1.26, allocations: 184.7 kB / 0.8036 GB, free: 310.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/1.26, allocations: 50.59 kB / 0.8037 GB, free: 310.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/1.262, allocations: 1.571 MB / 0.8052 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.262, allocations: 11.41 kB / 0.8052 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.262, allocations: 0 / 0.8052 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.263, allocations: 1.173 MB / 0.8063 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/1.265, allocations: 1.614 MB / 0.8079 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.265, allocations: 0 / 0.8079 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/1.265, allocations: 91.22 kB / 0.808 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/1.265, allocations: 50.73 kB / 0.8081 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.266, allocations: 10.7 kB / 0.8081 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000768/1.266, allocations: 1.339 MB / 0.8094 GB, free: 307.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.266, allocations: 0 / 0.8094 GB, free: 307.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/1.268, allocations: 1.218 MB / 0.8106 GB, free: 307.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.268, allocations: 146.5 kB / 0.8107 GB, free: 307.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/1.268, allocations: 11.78 kB / 0.8107 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.268, allocations: 42.95 kB / 0.8108 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/1.269, allocations: 47.2 kB / 0.8108 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.269, allocations: 19.08 kB / 0.8108 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002113/1.269, allocations: 236.6 kB / 0.811 GB, free: 307 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.269, allocations: 2.656 kB / 0.8111 GB, free: 307 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007804/1.277, allocations: 3.183 MB / 0.8142 GB, free: 306.7 MB / 0.5919 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.h) * Number of discrete variables: 9 ($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 (40): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01595/1.293, allocations: 5.861 MB / 0.8199 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001402/1.294, allocations: 0.9621 MB / 0.8208 GB, free: 304.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.294, allocations: 0 / 0.8208 GB, free: 304.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/1.295, allocations: 496.1 kB / 0.8213 GB, free: 304 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.296, allocations: 327.1 kB / 0.8216 GB, free: 303.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008283/1.304, allocations: 6.452 MB / 0.8279 GB, free: 297.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.305, allocations: 0.8681 MB / 0.8288 GB, free: 296.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003941/1.305, allocations: 170.9 kB / 0.8289 GB, free: 296.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.305, allocations: 163.4 kB / 0.8291 GB, free: 296.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/1.305, allocations: 0 / 0.8291 GB, free: 296.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/1.454, allocations: 123.2 MB / 0.9494 GB, free: 173 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.455, allocations: 232.3 kB / 0.9496 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.612/7.066, allocations: 4 kB / 0.9496 GB, free: 172.8 MB / 0.5919 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) Environment - environmentSimulation: