Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_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.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_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.0009194/0.0009195, allocations: 91.69 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.00115/0.00115, 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.259/1.259, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04902/0.04902, allocations: 9.062 MB / 279.5 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.0004862/0.0004862, allocations: 16 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0717/0.0722, allocations: 49.2 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2688/0.341, allocations: 132.5 MB / 0.5087 GB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2878/0.6289, allocations: 91.38 MB / 0.5979 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.6294, allocations: 7.344 kB / 0.5979 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.6318, allocations: 1.075 MB / 0.599 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.6347, allocations: 1.316 MB / 0.6002 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05125/0.6859, allocations: 22.63 MB / 0.6223 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.6877, allocations: 1.584 MB / 0.6239 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.6878, allocations: 100.3 kB / 0.624 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.7012, allocations: 9.779 MB / 0.6335 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.7016, allocations: 370.9 kB / 0.6339 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.7017, allocations: 16.66 kB / 0.6339 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04016/0.7418, allocations: 25.15 MB / 0.6585 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.7421, allocations: 99 kB / 0.6586 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.7425, allocations: 146.5 kB / 0.6587 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.7587, allocations: 7.49 MB / 0.666 GB, free: 7.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7587, allocations: 0 / 0.666 GB, free: 7.227 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7587, allocations: 0 / 0.666 GB, free: 7.227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.7587, allocations: 0 / 0.666 GB, free: 7.227 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.004614/0.7634, allocations: 2.207 MB / 0.6682 GB, free: 5.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7634, allocations: 12.03 kB / 0.6682 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.7635, allocations: 90.36 kB / 0.6683 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.764, allocations: 87.3 kB / 0.6683 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.7643, allocations: 325.8 kB / 0.6687 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.7644, allocations: 30.03 kB / 0.6687 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.7644, allocations: 35.92 kB / 0.6687 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.7655, allocations: 0.5956 MB / 0.6693 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7655, allocations: 4 kB / 0.6693 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.7656, allocations: 15.67 kB / 0.6693 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.7656, allocations: 14.58 kB / 0.6693 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.7666, allocations: 0.5416 MB / 0.6699 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.7687, allocations: 2.504 MB / 0.6723 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/0.7696, allocations: 0.5038 MB / 0.6728 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.7701, allocations: 357.2 kB / 0.6731 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3185/1.089, allocations: 119.3 MB / 0.7896 GB, free: 296.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.089, allocations: 37.62 kB / 0.7897 GB, free: 296.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/1.089, allocations: 0 / 0.7897 GB, free: 296.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006275/1.095, allocations: 2.476 MB / 0.7921 GB, free: 296.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.095, allocations: 57.64 kB / 0.7921 GB, free: 296.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/1.095, allocations: 250.3 kB / 0.7924 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.095, allocations: 32.98 kB / 0.7924 GB, free: 296.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/1.095, allocations: 193.2 kB / 0.7926 GB, free: 296 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/1.096, allocations: 264.5 kB / 0.7928 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/1.096, allocations: 9.125 kB / 0.7929 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/1.096, allocations: 357.2 kB / 0.7932 GB, free: 295.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/1.096, allocations: 281.4 kB / 0.7935 GB, free: 295.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/1.097, allocations: 408.6 kB / 0.7938 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/1.097, allocations: 333.9 kB / 0.7942 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.097, allocations: 1.375 kB / 0.7942 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001448/1.099, allocations: 0.8222 MB / 0.795 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.099, allocations: 9.844 kB / 0.795 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.099, allocations: 3.469 kB / 0.795 GB, free: 295.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/1.099, allocations: 109.6 kB / 0.7951 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/1.1, allocations: 112.7 kB / 0.7952 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08154/1.182, allocations: 24.66 MB / 0.8193 GB, free: 281.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/1.182, allocations: 53.16 kB / 0.8193 GB, free: 281.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/1.182, allocations: 22.83 kB / 0.8193 GB, free: 281.9 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 (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,2} * Without analytic Jacobian: 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.0002846/1.182, allocations: 184.8 kB / 0.8195 GB, free: 281.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.183, allocations: 42.83 kB / 0.8196 GB, free: 281.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/1.184, allocations: 1.729 MB / 0.8213 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.184, allocations: 22.02 kB / 0.8213 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.184, allocations: 0 / 0.8213 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/1.186, allocations: 1.284 MB / 0.8225 GB, free: 278.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/1.188, allocations: 1.775 MB / 0.8243 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.188, allocations: 0 / 0.8243 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/1.188, allocations: 87.88 kB / 0.8243 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/1.188, allocations: 201.9 kB / 0.8245 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/1.188, allocations: 15.28 kB / 0.8246 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/1.189, allocations: 2.489 MB / 0.827 GB, free: 273.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.189, allocations: 3.953 kB / 0.827 GB, free: 273.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/1.191, allocations: 1.475 MB / 0.8284 GB, free: 272.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.191, allocations: 140.4 kB / 0.8286 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/1.191, allocations: 7.953 kB / 0.8286 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/1.192, allocations: 48.02 kB / 0.8286 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/1.192, allocations: 47.86 kB / 0.8287 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/1.192, allocations: 16 kB / 0.8287 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001835/1.192, allocations: 215.1 kB / 0.8289 GB, free: 271.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.192, allocations: 0 / 0.8289 GB, free: 271.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006743/1.199, allocations: 2.904 MB / 0.8317 GB, free: 269.4 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01623/1.215, allocations: 5.435 MB / 0.837 GB, free: 264.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.217, allocations: 1.027 MB / 0.838 GB, free: 263.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.217, allocations: 3.938 kB / 0.838 GB, free: 263.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/1.218, allocations: 0.5233 MB / 0.8385 GB, free: 262.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.219, allocations: 335.2 kB / 0.8389 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/1.228, allocations: 4.233 MB / 0.843 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/1.228, allocations: 0.8525 MB / 0.8438 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003915/1.229, allocations: 115.1 kB / 0.8439 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.229, allocations: 163.4 kB / 0.8441 GB, free: 257 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/1.229, allocations: 0 / 0.8441 GB, free: 257 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/1.368, allocations: 119.1 MB / 0.9604 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.368, allocations: 240.9 kB / 0.9606 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/7.469, allocations: 4 kB / 0.9606 GB, free: 137.4 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) Environment - environmentSimulation: