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.0007812/0.0007812, 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.0007867/0.0007867, 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.212/1.212, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04134/0.04134, allocations: 9.06 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.0004809/0.000481, allocations: 12 kB / 339.2 MB, free: 25.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07285/0.07334, allocations: 49.19 MB / 388.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2712/0.3446, allocations: 120 MB / 0.4965 GB, free: 16 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.283/0.6276, allocations: 103.9 MB / 0.5979 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.6282, allocations: 4.125 kB / 0.5979 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.6306, allocations: 1.074 MB / 0.599 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.6334, allocations: 1.327 MB / 0.6002 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04934/0.6827, allocations: 22.6 MB / 0.6223 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.6844, allocations: 1.571 MB / 0.6239 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.6846, allocations: 94.02 kB / 0.6239 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.6992, allocations: 9.824 MB / 0.6335 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.6997, allocations: 362.9 kB / 0.6339 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.6997, allocations: 19.44 kB / 0.6339 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04488/0.7446, allocations: 27.86 MB / 0.6611 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.7448, allocations: 87.75 kB / 0.6612 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.7452, allocations: 148.6 kB / 0.6613 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.761, allocations: 8.59 MB / 0.6697 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7611, allocations: 0 / 0.6697 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7611, allocations: 0 / 0.6697 GB, free: 3.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.7611, allocations: 3.938 kB / 0.6697 GB, free: 3.926 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.005286/0.7664, allocations: 2.492 MB / 0.6722 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.7664, allocations: 11.12 kB / 0.6722 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.503e-05/0.7665, allocations: 84.03 kB / 0.6723 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.7671, allocations: 89.03 kB / 0.6723 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.7674, allocations: 333.4 kB / 0.6727 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.7675, allocations: 34.28 kB / 0.6727 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.7675, allocations: 31.19 kB / 0.6727 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.7687, allocations: 0.6125 MB / 0.6733 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7687, allocations: 4 kB / 0.6733 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.7687, allocations: 15.69 kB / 0.6733 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.7688, allocations: 17.3 kB / 0.6734 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7699, allocations: 0.5771 MB / 0.6739 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.7721, allocations: 2.511 MB / 0.6764 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.7731, allocations: 0.499 MB / 0.6769 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.7736, allocations: 351.1 kB / 0.6772 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3446/1.118, allocations: 135.8 MB / 0.8098 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.118, allocations: 43.5 kB / 0.8099 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.614e-06/1.118, allocations: 0 / 0.8099 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005454/1.124, allocations: 2.398 MB / 0.8122 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/1.124, allocations: 58.16 kB / 0.8123 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/1.124, allocations: 252.4 kB / 0.8125 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/1.124, allocations: 32.86 kB / 0.8125 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/1.124, allocations: 189.1 kB / 0.8127 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.124, allocations: 268.7 kB / 0.813 GB, free: 275.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/1.124, allocations: 7.625 kB / 0.813 GB, free: 275.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/1.124, allocations: 353.7 kB / 0.8133 GB, free: 275.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/1.125, allocations: 286.5 kB / 0.8136 GB, free: 275.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/1.125, allocations: 391.6 kB / 0.814 GB, free: 275.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/1.126, allocations: 334.9 kB / 0.8143 GB, free: 275.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.126, allocations: 1.188 kB / 0.8143 GB, free: 275.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001246/1.127, allocations: 0.8119 MB / 0.8151 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.127, allocations: 5.5 kB / 0.8151 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.127, allocations: 2.75 kB / 0.8151 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/1.127, allocations: 67.73 kB / 0.8151 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/1.128, allocations: 132.8 kB / 0.8153 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07843/1.206, allocations: 24.83 MB / 0.8395 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/1.207, allocations: 59.86 kB / 0.8396 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/1.207, allocations: 16 kB / 0.8396 GB, free: 257.3 MB / 0.5762 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.0002319/1.207, allocations: 193.7 kB / 0.8398 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/1.207, allocations: 43.44 kB / 0.8398 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.209, allocations: 1.708 MB / 0.8415 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.209, allocations: 10.38 kB / 0.8415 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.209, allocations: 0 / 0.8415 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/1.21, allocations: 1.277 MB / 0.8427 GB, free: 253.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.212, allocations: 1.739 MB / 0.8444 GB, free: 252.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.212, allocations: 0 / 0.8444 GB, free: 252.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.212, allocations: 83.88 kB / 0.8445 GB, free: 252.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/1.212, allocations: 111 kB / 0.8446 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/1.212, allocations: 12 kB / 0.8446 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008262/1.213, allocations: 1.895 MB / 0.8465 GB, free: 249.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.213, allocations: 0 / 0.8465 GB, free: 249.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/1.215, allocations: 1.338 MB / 0.8478 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.215, allocations: 140.4 kB / 0.8479 GB, free: 248.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/1.215, allocations: 15.61 kB / 0.8479 GB, free: 248.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.215, allocations: 43.97 kB / 0.848 GB, free: 248.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/1.215, allocations: 43.92 kB / 0.848 GB, free: 248.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/1.215, allocations: 15.98 kB / 0.848 GB, free: 248.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001588/1.216, allocations: 215.1 kB / 0.8482 GB, free: 248 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0 / 0.8482 GB, free: 248 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006111/1.222, allocations: 3.192 MB / 0.8514 GB, free: 245.3 MB / 0.5762 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.01384/1.236, allocations: 5.822 MB / 0.857 GB, free: 239.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.237, allocations: 1.017 MB / 0.858 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.237, allocations: 4 kB / 0.858 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/1.238, allocations: 0.5031 MB / 0.8585 GB, free: 238.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.239, allocations: 336.4 kB / 0.8589 GB, free: 238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006602/1.246, allocations: 4.354 MB / 0.8631 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/1.246, allocations: 0.8486 MB / 0.8639 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003536/1.246, allocations: 146.7 kB / 0.8641 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/1.246, allocations: 167.4 kB / 0.8642 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/1.246, allocations: 0 / 0.8642 GB, free: 232.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.382, allocations: 123.1 MB / 0.9845 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/1.382, allocations: 227.3 kB / 0.9847 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.217/7.599, allocations: 7.938 kB / 0.9847 GB, free: 108.9 MB / 0.5762 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: