Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",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.0009465/0.0009465, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005995/0.005995, allocations: 171.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1346/0.1346, allocations: 2.777 MB / 294.2 MB, free: 4.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004049, allocations: 12 kB / 356.3 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 51.27 MB / 407.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008997/0.1126, allocations: 7.72 MB / 415.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.1135, allocations: 0.9109 MB / 416.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1136, allocations: 4 kB / 416.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1138, allocations: 75.64 kB / 416.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.1139, allocations: 19.83 kB / 416.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1143, allocations: 107.3 kB / 416.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1144, allocations: 55.56 kB / 416.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1145, allocations: 11.98 kB / 416.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.1146, allocations: 15.94 kB / 416.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.1146, allocations: 15.94 kB / 416.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1147, allocations: 4 kB / 416.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3685/0.4832, allocations: 12.43 MB / 428.9 MB, free: 40.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.4832, allocations: 9.688 kB / 429 MB, free: 40.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.4833, allocations: 46.16 kB / 429 MB, free: 40.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.4837, allocations: 80.22 kB / 429.1 MB, free: 40.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4837, allocations: 0 / 429.1 MB, free: 40.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4837, allocations: 2.969 kB / 429.1 MB, free: 40.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.4837, allocations: 0 / 429.1 MB, free: 40.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003112/0.484, allocations: 363.1 kB / 429.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4841, allocations: 9.969 kB / 429.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.4841, allocations: 34.12 kB / 429.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4842, allocations: 29.27 kB / 429.5 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.4843, allocations: 166.7 kB / 429.7 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4843, allocations: 0.5625 kB / 429.7 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.4843, allocations: 7.156 kB / 429.7 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4844, allocations: 69.88 kB / 429.7 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4845, allocations: 0 / 429.7 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4845, allocations: 7.219 kB / 429.8 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4845, allocations: 3.562 kB / 429.8 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.4845, allocations: 33.45 kB / 429.8 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.4849, allocations: 319.7 kB / 430.1 MB, free: 40.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.4849, allocations: 48.02 kB / 430.1 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.485, allocations: 35.02 kB / 430.2 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.485, allocations: 4 kB / 430.2 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.485, allocations: 33.94 kB / 430.2 MB, free: 39.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.485, allocations: 0 / 430.2 MB, free: 39.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002142/0.4853, allocations: 111.4 kB / 430.3 MB, free: 39.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4853, allocations: 54.62 kB / 430.4 MB, free: 39.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.706e-05/0.4853, allocations: 90.55 kB / 430.5 MB, free: 39.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.4853, allocations: 28.33 kB / 430.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.376e-05/0.4853, allocations: 80.83 kB / 430.6 MB, free: 39.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.4854, allocations: 58.88 kB / 430.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4854, allocations: 19.34 kB / 430.7 MB, free: 39.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.4855, allocations: 324 kB / 431 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.4855, allocations: 15.44 kB / 431 MB, free: 39.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.4855, allocations: 19.03 kB / 431 MB, free: 39.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.4856, allocations: 64.91 kB / 431.1 MB, free: 39.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4856, allocations: 0 / 431.1 MB, free: 39.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001042/0.4857, allocations: 82.27 kB / 431.1 MB, free: 39.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4858, allocations: 6.094 kB / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4858, allocations: 7.094 kB / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4858, allocations: 0 / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.4858, allocations: 7.125 kB / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4859, allocations: 0 / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.4859, allocations: 3.188 kB / 431.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4859, allocations: 3.938 kB / 431.2 MB, free: 39.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.486, allocations: 112.4 kB / 431.3 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.486, allocations: 7.25 kB / 431.3 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.4863, allocations: 237.6 kB / 431.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001524/0.4864, allocations: 193.2 kB / 431.7 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4865, allocations: 6.734 kB / 431.7 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4865, allocations: 3.984 kB / 431.7 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.4869, allocations: 0.5688 MB / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4869, allocations: 0 / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.487, allocations: 25.36 kB / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.487, allocations: 0 / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4871, allocations: 6.656 kB / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4871, allocations: 4 kB / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4871, allocations: 0 / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.4873, allocations: 288.3 kB / 432.6 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.4873, allocations: 88.05 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4873, allocations: 3.5 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.4874, allocations: 3.281 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.4874, allocations: 10.14 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4874, allocations: 3.25 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.248e-05/0.4874, allocations: 79.28 kB / 432.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4874, allocations: 0 / 432.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.4877, allocations: 35.66 kB / 432.8 MB, free: 38.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00049/0.4882, allocations: 0.8518 MB / 433.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.4884, allocations: 153.1 kB / 433.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4884, allocations: 0 / 433.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.4885, allocations: 90.11 kB / 433.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.489, allocations: 70.38 kB / 434 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.4897, allocations: 478.1 kB / 434.4 MB, free: 37.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4898, allocations: 0.7169 MB / 435.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.4899, allocations: 16.84 kB / 435.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.4899, allocations: 42.91 kB / 435.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4899, allocations: 0 / 435.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.5032, allocations: 4.148 MB / 439.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.5034, allocations: 240.9 kB / 439.6 MB, free: 36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.329, allocations: 3.938 kB / 439.6 MB, free: 36 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)