Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",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.0009327/0.0009326, allocations: 100.2 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.0009587/0.0009588, allocations: 177.3 kB / 15.94 MB, free: 228 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.23/1.23, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04066/0.04066, allocations: 9.06 MB / 279.4 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.0005385/0.0005386, allocations: 19.98 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07161/0.07216, allocations: 49.18 MB / 388.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2408/0.313, allocations: 106.7 MB / 495.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0742/0.3872, allocations: 88.48 MB / 0.5699 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.3878, allocations: 4 kB / 0.5699 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.3905, allocations: 1.137 MB / 0.571 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.3933, allocations: 1.289 MB / 0.5723 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2501/0.6433, allocations: 22.6 MB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.6446, allocations: 0.7755 MB / 0.5951 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.6448, allocations: 100.2 kB / 0.5952 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.6615, allocations: 9.812 MB / 0.6048 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.6619, allocations: 267.1 kB / 0.605 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.662, allocations: 22.16 kB / 0.605 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04119/0.7032, allocations: 25.48 MB / 0.6299 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.7034, allocations: 88.88 kB / 0.63 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.7038, allocations: 147.9 kB / 0.6302 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.7167, allocations: 6.467 MB / 0.6365 GB, free: 14.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.7167, allocations: 0 / 0.6365 GB, free: 14.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7167, allocations: 4 kB / 0.6365 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.7167, allocations: 0 / 0.6365 GB, free: 14.66 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.004444/0.7212, allocations: 2.003 MB / 0.6384 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7212, allocations: 8.031 kB / 0.6384 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/0.7213, allocations: 84.27 kB / 0.6385 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.7219, allocations: 92.16 kB / 0.6386 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.7222, allocations: 326.8 kB / 0.6389 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.7222, allocations: 28.91 kB / 0.639 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.7223, allocations: 35.66 kB / 0.639 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7233, allocations: 0.6133 MB / 0.6396 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.7233, allocations: 0 / 0.6396 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.7234, allocations: 13.62 kB / 0.6396 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7234, allocations: 13.7 kB / 0.6396 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.7245, allocations: 0.5758 MB / 0.6402 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.7263, allocations: 2.519 MB / 0.6426 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.7272, allocations: 0.4929 MB / 0.6431 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2113/0.9386, allocations: 136.2 MB / 0.7761 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.9386, allocations: 40.98 kB / 0.7762 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.9386, allocations: 0 / 0.7762 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005845/0.9445, allocations: 2.706 MB / 0.7788 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.9445, allocations: 59.41 kB / 0.7788 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.9448, allocations: 255.7 kB / 0.7791 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.9449, allocations: 29.27 kB / 0.7791 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.945, allocations: 189.3 kB / 0.7793 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.9451, allocations: 264.1 kB / 0.7796 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.9452, allocations: 5.562 kB / 0.7796 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9453, allocations: 352.9 kB / 0.7799 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.9457, allocations: 284.5 kB / 0.7802 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.9462, allocations: 398.3 kB / 0.7805 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.9468, allocations: 333.4 kB / 0.7809 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9468, allocations: 4 kB / 0.7809 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001284/0.9481, allocations: 0.809 MB / 0.7817 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9481, allocations: 6.5 kB / 0.7817 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.9481, allocations: 4.344 kB / 0.7817 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.9483, allocations: 68.92 kB / 0.7817 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.949, allocations: 131.7 kB / 0.7819 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2312/1.18, allocations: 24.79 MB / 0.8061 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/1.181, allocations: 58.33 kB / 0.8061 GB, free: 310.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/1.181, allocations: 20.66 kB / 0.8061 GB, free: 310.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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,ambient.medium.sat.liq.phase,ambient.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): 41 * 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,1} * 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.0002273/1.181, allocations: 194.9 kB / 0.8063 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/1.181, allocations: 42.31 kB / 0.8064 GB, free: 310.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.183, allocations: 1.715 MB / 0.8081 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.183, allocations: 10.31 kB / 0.8081 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.183, allocations: 0 / 0.8081 GB, free: 310.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.184, allocations: 1.279 MB / 0.8093 GB, free: 309.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.186, allocations: 1.717 MB / 0.811 GB, free: 309.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.186, allocations: 0 / 0.811 GB, free: 309.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/1.186, allocations: 92.67 kB / 0.8111 GB, free: 309.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/1.186, allocations: 109.8 kB / 0.8112 GB, free: 309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.186, allocations: 7.656 kB / 0.8112 GB, free: 309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000853/1.187, allocations: 1.912 MB / 0.8131 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.187, allocations: 3.953 kB / 0.8131 GB, free: 307.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/1.189, allocations: 1.324 MB / 0.8144 GB, free: 306.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.189, allocations: 139.8 kB / 0.8145 GB, free: 306.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/1.189, allocations: 11.8 kB / 0.8145 GB, free: 306.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/1.189, allocations: 46.98 kB / 0.8145 GB, free: 306.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/1.189, allocations: 48.64 kB / 0.8146 GB, free: 306.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.189, allocations: 14.94 kB / 0.8146 GB, free: 306.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001758/1.19, allocations: 218.5 kB / 0.8148 GB, free: 306.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.19, allocations: 0 / 0.8148 GB, free: 306.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00734/1.197, allocations: 3.183 MB / 0.8179 GB, free: 305.9 MB / 0.5919 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 (39): * Single equations (assignments): 33 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01518/1.212, allocations: 5.821 MB / 0.8236 GB, free: 302.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001704/1.214, allocations: 1.016 MB / 0.8246 GB, free: 301.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.214, allocations: 0 / 0.8246 GB, free: 301.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006071/1.215, allocations: 0.5187 MB / 0.8251 GB, free: 300.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.216, allocations: 321.6 kB / 0.8254 GB, free: 300.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/1.225, allocations: 6.01 MB / 0.8313 GB, free: 294.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/1.225, allocations: 0.8642 MB / 0.8321 GB, free: 293.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003741/1.225, allocations: 139.1 kB / 0.8323 GB, free: 293.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/1.226, allocations: 169.7 kB / 0.8324 GB, free: 293 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/1.226, allocations: 4 kB / 0.8324 GB, free: 293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/1.363, allocations: 123.1 MB / 0.9526 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.363, allocations: 226.1 kB / 0.9529 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.475/7.838, allocations: 7.938 kB / 0.9529 GB, free: 169.4 MB / 0.5919 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) Environment - environmentSimulation: