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.0009978/0.0009978, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001032/0.001032, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1158/0.1158, allocations: 2.759 MB / 292.8 MB, free: 3.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 55.91 kB / 354 MB, free: 4.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09974, allocations: 50.23 MB / 404.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008475/0.1082, allocations: 8.124 MB / 412.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.109, allocations: 0.9303 MB / 413.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.109, allocations: 0 / 413.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1093, allocations: 71.64 kB / 413.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.1093, allocations: 23.84 kB / 413.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1096, allocations: 111.3 kB / 413.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.1097, allocations: 55.61 kB / 413.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1098, allocations: 4 kB / 413.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.1098, allocations: 19.92 kB / 413.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.1099, allocations: 19.94 kB / 413.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.1099, allocations: 7.875 kB / 413.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3175/0.4274, allocations: 13.52 MB / 427.1 MB, free: 43.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.4274, allocations: 2.734 kB / 427.1 MB, free: 43.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.4274, allocations: 36.86 kB / 427.1 MB, free: 43.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.4277, allocations: 80.47 kB / 427.2 MB, free: 43.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4277, allocations: 0 / 427.2 MB, free: 43.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4277, allocations: 0 / 427.2 MB, free: 43.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.4277, allocations: 1.094 kB / 427.2 MB, free: 43.92 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.0002682/0.428, allocations: 358.6 kB / 427.6 MB, free: 43.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.428, allocations: 9.75 kB / 427.6 MB, free: 43.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.428, allocations: 41.14 kB / 427.6 MB, free: 43.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.4281, allocations: 24.45 kB / 427.7 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.4282, allocations: 167.4 kB / 427.8 MB, free: 43.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.4282, allocations: 3.688 kB / 427.8 MB, free: 43.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.4282, allocations: 9.281 kB / 427.8 MB, free: 43.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4283, allocations: 61.69 kB / 427.9 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.4283, allocations: 0 / 427.9 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.4284, allocations: 6.781 kB / 427.9 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4284, allocations: 3.188 kB / 427.9 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.4284, allocations: 40.02 kB / 427.9 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.4287, allocations: 307.9 kB / 428.2 MB, free: 43.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.4287, allocations: 43.23 kB / 428.3 MB, free: 43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.4288, allocations: 41.27 kB / 428.3 MB, free: 42.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.4288, allocations: 4.438 kB / 428.3 MB, free: 42.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.4288, allocations: 37.5 kB / 428.4 MB, free: 42.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.4288, allocations: 0 / 428.4 MB, free: 42.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0001783/0.429, allocations: 112.4 kB / 428.5 MB, free: 42.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.429, allocations: 60.02 kB / 428.5 MB, free: 42.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.27e-05/0.4291, allocations: 89.86 kB / 428.6 MB, free: 42.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.4291, allocations: 29.14 kB / 428.6 MB, free: 42.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.4291, allocations: 84.08 kB / 428.7 MB, free: 42.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.4291, allocations: 48.08 kB / 428.8 MB, free: 42.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4292, allocations: 29.42 kB / 428.8 MB, free: 42.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.4292, allocations: 326 kB / 429.1 MB, free: 42.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.4292, allocations: 12.03 kB / 429.1 MB, free: 42.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.4292, allocations: 18.38 kB / 429.2 MB, free: 42.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.4293, allocations: 72.3 kB / 429.2 MB, free: 42.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4293, allocations: 0 / 429.2 MB, free: 42.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.542e-05/0.4294, allocations: 81.84 kB / 429.3 MB, free: 42.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4294, allocations: 3.312 kB / 429.3 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4294, allocations: 0 / 429.3 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4294, allocations: 7.125 kB / 429.3 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.4295, allocations: 0 / 429.3 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4295, allocations: 7.328 kB / 429.3 MB, free: 42.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.4295, allocations: 7.609 kB / 429.3 MB, free: 42.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4295, allocations: 7.875 kB / 429.3 MB, free: 42.19 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 4.214e-05/0.4296, allocations: 116.8 kB / 429.4 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.4296, allocations: 10.8 kB / 429.5 MB, free: 42.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.4298, allocations: 233.7 kB / 429.7 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/0.43, allocations: 189.6 kB / 429.9 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.43, allocations: 0 / 429.9 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.43, allocations: 6.281 kB / 429.9 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.4304, allocations: 0.5628 MB / 430.4 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4304, allocations: 0 / 430.4 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4305, allocations: 27.36 kB / 430.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4305, allocations: 2.969 kB / 430.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4305, allocations: 0 / 430.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4305, allocations: 0 / 430.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4305, allocations: 7.031 kB / 430.5 MB, free: 41.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.4307, allocations: 284.8 kB / 430.8 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.4307, allocations: 95.42 kB / 430.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4307, allocations: 3 kB / 430.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.4308, allocations: 6.531 kB / 430.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.4308, allocations: 6.531 kB / 430.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4308, allocations: 6.906 kB / 430.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.808e-06/0.4308, allocations: 76.59 kB / 430.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4308, allocations: 4 kB / 431 MB, free: 41.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.431, allocations: 32.12 kB / 431 MB, free: 41.29 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.0003949/0.4314, allocations: 0.846 MB / 431.8 MB, free: 40.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4316, allocations: 158.1 kB / 432 MB, free: 40.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4317, allocations: 0 / 432 MB, free: 40.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.4317, allocations: 90.77 kB / 432.1 MB, free: 40.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.4322, allocations: 79.77 kB / 432.1 MB, free: 40.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.4327, allocations: 440.6 kB / 432.6 MB, free: 40.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.4328, allocations: 0.7214 MB / 433.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.4329, allocations: 17.52 kB / 433.3 MB, free: 39.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.433, allocations: 42.91 kB / 433.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.433, allocations: 0 / 433.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/0.7048, allocations: 4.452 MB / 437.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.705, allocations: 239 kB / 438 MB, free: 38.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.471, allocations: 0 / 438 MB, free: 38.84 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)