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.0009697/0.0009698, allocations: 99.16 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.0009848/0.0009848, 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.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04082/0.04082, allocations: 9.059 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.0004775/0.0004775, allocations: 12 kB / 339.2 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07642/0.07691, allocations: 49.2 MB / 388.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2699/0.3468, allocations: 117.8 MB / 0.4943 GB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.07084/0.4177, allocations: 77.42 MB / 0.5699 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.4185, allocations: 4 kB / 0.5699 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.4214, allocations: 1.129 MB / 0.571 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.4247, allocations: 1.289 MB / 0.5723 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2665/0.6912, allocations: 22.64 MB / 0.5944 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.6926, allocations: 0.7879 MB / 0.5951 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.6928, allocations: 99.38 kB / 0.5952 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.7103, allocations: 9.812 MB / 0.6048 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.7106, allocations: 262.8 kB / 0.6051 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.7107, allocations: 18.34 kB / 0.6051 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04247/0.7532, allocations: 23.54 MB / 0.6281 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.7535, allocations: 90.77 kB / 0.6282 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.7539, allocations: 144.8 kB / 0.6283 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.7657, allocations: 5.824 MB / 0.634 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7658, allocations: 0 / 0.634 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7658, allocations: 0 / 0.634 GB, free: 15.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.7658, allocations: 0 / 0.634 GB, free: 15.03 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.004335/0.7701, allocations: 1.815 MB / 0.6358 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7702, allocations: 14.25 kB / 0.6358 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.7703, allocations: 82.39 kB / 0.6358 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00052/0.7708, allocations: 81.08 kB / 0.6359 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.7711, allocations: 323.1 kB / 0.6362 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.7712, allocations: 31.44 kB / 0.6363 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.7712, allocations: 39.78 kB / 0.6363 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.7722, allocations: 0.5947 MB / 0.6369 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.7723, allocations: 1.969 kB / 0.6369 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.7723, allocations: 14.78 kB / 0.6369 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.7723, allocations: 19.59 kB / 0.6369 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.7734, allocations: 0.5552 MB / 0.6375 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.7752, allocations: 2.488 MB / 0.6399 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.7762, allocations: 0.5163 MB / 0.6404 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1837/0.9599, allocations: 119.6 MB / 0.7572 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.96, allocations: 40.05 kB / 0.7573 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.527e-06/0.96, allocations: 0 / 0.7573 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.00636/0.9664, allocations: 2.777 MB / 0.76 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.9665, allocations: 55.41 kB / 0.76 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.9668, allocations: 255.8 kB / 0.7603 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.9668, allocations: 29.45 kB / 0.7603 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.967, allocations: 188 kB / 0.7605 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.9672, allocations: 266.9 kB / 0.7607 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.9672, allocations: 10.88 kB / 0.7607 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9673, allocations: 351.7 kB / 0.7611 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.9678, allocations: 284.6 kB / 0.7613 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.9684, allocations: 405.5 kB / 0.7617 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.9689, allocations: 330.5 kB / 0.762 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9689, allocations: 4 kB / 0.762 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001427/0.9704, allocations: 0.8278 MB / 0.7629 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9704, allocations: 8 kB / 0.7629 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9704, allocations: 4.344 kB / 0.7629 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.9709, allocations: 110.9 kB / 0.763 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.9715, allocations: 120.5 kB / 0.7631 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09224/1.064, allocations: 24.59 MB / 0.7871 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/1.064, allocations: 67.11 kB / 0.7872 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.064, allocations: 19.75 kB / 0.7872 GB, free: 4.664 MB / 0.5919 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.0002606/1.065, allocations: 180 kB / 0.7874 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/1.065, allocations: 47.39 kB / 0.7874 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/1.067, allocations: 1.727 MB / 0.7891 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.067, allocations: 15 kB / 0.7891 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.067, allocations: 0 / 0.7891 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/1.068, allocations: 1.293 MB / 0.7904 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/1.071, allocations: 1.778 MB / 0.7921 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.071, allocations: 0 / 0.7921 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/1.071, allocations: 74.3 kB / 0.7922 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/1.071, allocations: 209.8 kB / 0.7924 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/1.071, allocations: 16.27 kB / 0.7924 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1584/1.23, allocations: 2.486 MB / 0.7948 GB, free: 313.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.23, allocations: 0 / 0.7948 GB, free: 313.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/1.232, allocations: 1.498 MB / 0.7963 GB, free: 313.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.232, allocations: 138.2 kB / 0.7964 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/1.232, allocations: 8.578 kB / 0.7964 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/1.233, allocations: 49.55 kB / 0.7965 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.233, allocations: 47.89 kB / 0.7965 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/1.233, allocations: 15.97 kB / 0.7965 GB, free: 313.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000252/1.233, allocations: 218.2 kB / 0.7967 GB, free: 313.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/1.233, allocations: 0 / 0.7967 GB, free: 313.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008267/1.241, allocations: 2.894 MB / 0.7996 GB, free: 313.2 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: 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.01878/1.26, allocations: 5.521 MB / 0.805 GB, free: 312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.262, allocations: 1.018 MB / 0.806 GB, free: 311.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.262, allocations: 0 / 0.806 GB, free: 311.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007459/1.263, allocations: 0.5294 MB / 0.8065 GB, free: 311.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.265, allocations: 327.1 kB / 0.8068 GB, free: 311.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009851/1.274, allocations: 6.201 MB / 0.8128 GB, free: 307.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/1.275, allocations: 0.8631 MB / 0.8137 GB, free: 307 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004825/1.275, allocations: 103.8 kB / 0.8138 GB, free: 307 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/1.275, allocations: 171.6 kB / 0.8139 GB, free: 306.9 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/1.275, allocations: 0 / 0.8139 GB, free: 306.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.422, allocations: 119 MB / 0.9302 GB, free: 198 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.422, allocations: 247.2 kB / 0.9304 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.398/7.82, allocations: 0 / 0.9304 GB, free: 197.7 MB / 0.5919 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: