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.00566/0.00566, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001155/0.001155, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1255/0.1255, allocations: 2.764 MB / 293.3 MB, free: 3.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 405.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2291, allocations: 50.24 MB / 455.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.007195/0.2364, allocations: 8.113 MB / 463.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000603/0.237, allocations: 0.9386 MB / 464.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.2371, allocations: 2.688 kB / 464.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.2373, allocations: 81.84 kB / 464.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.665e-05/0.2373, allocations: 22.64 kB / 464.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2376, allocations: 112.9 kB / 464.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.2377, allocations: 52.34 kB / 464.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.2378, allocations: 7.516 kB / 465 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.2378, allocations: 20.64 kB / 465 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2378, allocations: 22.64 kB / 465 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.2379, allocations: 3.938 kB / 465 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0791/0.317, allocations: 13.64 MB / 478.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.317, allocations: 10.86 kB / 478.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.3171, allocations: 32.58 kB / 478.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.3175, allocations: 88.58 kB / 478.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3175, allocations: 0 / 478.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3175, allocations: 0.8125 kB / 478.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3175, allocations: 0 / 478.8 MB, free: 7.625 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.0003363/0.3178, allocations: 359.8 kB / 479.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3179, allocations: 9.719 kB / 479.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.3179, allocations: 35.14 kB / 479.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.318, allocations: 21.09 kB / 479.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.3181, allocations: 170.5 kB / 479.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3181, allocations: 9.625 kB / 479.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3181, allocations: 1.531 kB / 479.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3183, allocations: 65.58 kB / 479.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3183, allocations: 0 / 479.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3183, allocations: 1.891 kB / 479.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3183, allocations: 2.625 kB / 479.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.3184, allocations: 38.58 kB / 479.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.3187, allocations: 322 kB / 479.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.3188, allocations: 42.08 kB / 479.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.3189, allocations: 36.67 kB / 479.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3189, allocations: 1.5 kB / 479.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3189, allocations: 32.58 kB / 479.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.3189, allocations: 3.984 kB / 479.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002298/0.3192, allocations: 116.9 kB / 480 MB, free: 6.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3192, allocations: 56.72 kB / 480.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.668e-05/0.3192, allocations: 98.27 kB / 480.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.3192, allocations: 25.7 kB / 480.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.3192, allocations: 82.38 kB / 480.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3193, allocations: 49.2 kB / 480.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3193, allocations: 22.09 kB / 480.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.3194, allocations: 320.1 kB / 480.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.3194, allocations: 15.33 kB / 480.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.3194, allocations: 28.69 kB / 480.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.3195, allocations: 62.03 kB / 480.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3195, allocations: 0 / 480.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001052/0.3196, allocations: 85.52 kB / 480.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3196, allocations: 6.109 kB / 480.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3197, allocations: 0 / 480.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3197, allocations: 1.188 kB / 480.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.3197, allocations: 3.125 kB / 480.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3197, allocations: 0 / 480.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.3198, allocations: 10.84 kB / 480.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3198, allocations: 4.938 kB / 480.9 MB, free: 5.637 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.773e-05/0.3198, allocations: 117.7 kB / 481 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3199, allocations: 5.312 kB / 481 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.3199, allocations: 6.453 kB / 481 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3199, allocations: 4 kB / 481 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3199, allocations: 5.469 kB / 481 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3199, allocations: 4.688 kB / 481 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.3201, allocations: 181.3 kB / 481.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3201, allocations: 0.7031 kB / 481.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.3201, allocations: 7.656 kB / 481.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3201, allocations: 0.75 kB / 481.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3201, allocations: 1.094 kB / 481.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3201, allocations: 1.125 kB / 481.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3201, allocations: 0 / 481.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.3203, allocations: 193 kB / 481.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.3203, allocations: 87.03 kB / 481.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3203, allocations: 1.719 kB / 481.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.3204, allocations: 4 kB / 481.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.3204, allocations: 6.719 kB / 481.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3204, allocations: 1.125 kB / 481.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.3204, allocations: 80.5 kB / 481.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3204, allocations: 0 / 481.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.3207, allocations: 21.67 kB / 481.6 MB, free: 4.926 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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003983/0.3211, allocations: 0.7465 MB / 482.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3212, allocations: 114.9 kB / 482.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3213, allocations: 1.281 kB / 482.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.829e-05/0.3213, allocations: 91.36 kB / 482.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.3223, allocations: 37.55 kB / 482.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.3229, allocations: 323.2 kB / 482.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3231, allocations: 0.7178 MB / 483.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.227e-05/0.3231, allocations: 13.78 kB / 483.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.3232, allocations: 47.78 kB / 483.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3232, allocations: 0 / 483.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.3449, allocations: 4.042 MB / 487.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.927, allocations: 18.09 kB / 487.7 MB, free: 2.258 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)