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.005628/0.005628, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001383/0.001383, allocations: 187 kB / 16.67 MB, free: 5.922 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01354/0.01354, allocations: 2.775 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.83 kB / 405.4 MB, free: 29.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07589/0.07775, allocations: 50.22 MB / 455.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.00981/0.0876, allocations: 8.127 MB / 463.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.08848, allocations: 0.9303 MB / 464.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.08851, allocations: 7.938 kB / 464.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.08877, allocations: 71.58 kB / 464.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.08881, allocations: 27.77 kB / 464.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.08912, allocations: 119.2 kB / 464.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.08922, allocations: 55.59 kB / 465 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.08927, allocations: 4 kB / 465 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.08931, allocations: 15.94 kB / 465 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.08937, allocations: 23.86 kB / 465 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.08938, allocations: 0 / 465 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.115/0.2044, allocations: 13.65 MB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.2044, allocations: 7.938 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.2045, allocations: 23.88 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.205, allocations: 87.64 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.205, allocations: 0 / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.205, allocations: 0 / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.205, allocations: 0 / 478.8 MB, free: 5.273 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.0004309/0.2054, allocations: 355.3 kB / 479.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2055, allocations: 12.03 kB / 479.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.2055, allocations: 46.67 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2056, allocations: 20.88 kB / 479.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2058, allocations: 168.3 kB / 479.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2058, allocations: 4.125 kB / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2058, allocations: 8 kB / 479.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2059, allocations: 65.67 kB / 479.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.206, allocations: 3.938 kB / 479.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.206, allocations: 3.938 kB / 479.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.206, allocations: 4 kB / 479.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.206, allocations: 35.98 kB / 479.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.2065, allocations: 309.6 kB / 479.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/0.2066, allocations: 50.56 kB / 479.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.2066, allocations: 40.8 kB / 479.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2066, allocations: 3.938 kB / 479.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2067, allocations: 30.56 kB / 479.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.2067, allocations: 4 kB / 479.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002512/0.2069, allocations: 114.4 kB / 480 MB, free: 3.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.207, allocations: 51.41 kB / 480.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.2071, allocations: 93.8 kB / 480.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2071, allocations: 29.7 kB / 480.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2071, allocations: 84.12 kB / 480.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.2072, allocations: 59.47 kB / 480.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.2072, allocations: 21.72 kB / 480.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2074, allocations: 322.8 kB / 480.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.2074, allocations: 19.94 kB / 480.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.2075, allocations: 23.89 kB / 480.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.2076, allocations: 52.81 kB / 480.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2076, allocations: 0 / 480.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001271/0.2077, allocations: 89.55 kB / 480.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2077, allocations: 4 kB / 480.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2077, allocations: 0 / 480.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2078, allocations: 0 / 480.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.2078, allocations: 8 kB / 480.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2078, allocations: 4 kB / 480.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.2079, allocations: 3.938 kB / 480.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2079, allocations: 7.938 kB / 480.9 MB, free: 2.93 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 8.384e-05/0.208, allocations: 109.8 kB / 481 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.208, allocations: 7.953 kB / 481 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.208, allocations: 8.438 kB / 481 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.208, allocations: 0 / 481 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.208, allocations: 0 / 481 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2081, allocations: 3.938 kB / 481 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.2083, allocations: 186 kB / 481.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2083, allocations: 4 kB / 481.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.2083, allocations: 7.938 kB / 481.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2083, allocations: 0 / 481.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2083, allocations: 8 kB / 481.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2083, allocations: 0 / 481.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2083, allocations: 0 / 481.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2085, allocations: 195.3 kB / 481.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.2086, allocations: 85.05 kB / 481.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2086, allocations: 3.938 kB / 481.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.2087, allocations: 0 / 481.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2088, allocations: 7.938 kB / 481.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2088, allocations: 0 / 481.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.2088, allocations: 75.28 kB / 481.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2088, allocations: 0 / 481.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.2091, allocations: 23.95 kB / 481.6 MB, free: 2.125 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.0007014/0.2098, allocations: 0.7528 MB / 482.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.21, allocations: 113.3 kB / 482.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.21, allocations: 0 / 482.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.2101, allocations: 94.36 kB / 482.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2113, allocations: 47.81 kB / 482.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.2119, allocations: 309.4 kB / 482.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2123, allocations: 0.7162 MB / 483.6 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.2124, allocations: 12.31 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.2124, allocations: 39.42 kB / 483.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2124, allocations: 0 / 483.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.2399, allocations: 4.058 MB / 487.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.428, allocations: 15.86 kB / 487.7 MB, free: 11.89 MB / 366.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)