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.008053/0.008053, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001456/0.001456, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1308/0.1308, allocations: 2.759 MB / 293.3 MB, free: 3.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 59.89 kB / 405.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2654, allocations: 50.24 MB / 455.6 MB, free: 20.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006939/0.2724, allocations: 8.105 MB / 463.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.2731, allocations: 0.9454 MB / 464.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.2731, allocations: 0 / 464.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.2734, allocations: 74.47 kB / 464.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.2735, allocations: 30.48 kB / 464.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2738, allocations: 113.6 kB / 464.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.2739, allocations: 55.28 kB / 465 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.894e-05/0.2739, allocations: 4.141 kB / 465 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.274, allocations: 28.97 kB / 465 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.274, allocations: 13.94 kB / 465 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.274, allocations: 3.156 kB / 465 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1077/0.3817, allocations: 13.64 MB / 478.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.3817, allocations: 9.703 kB / 478.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.3818, allocations: 21.19 kB / 478.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3823, allocations: 88.8 kB / 478.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3823, allocations: 1.188 kB / 478.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3823, allocations: 0 / 478.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3823, allocations: 0 / 478.8 MB, free: 7.648 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.0003815/0.3827, allocations: 363.2 kB / 479.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3828, allocations: 9.438 kB / 479.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.3828, allocations: 39.33 kB / 479.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3829, allocations: 21.59 kB / 479.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.383, allocations: 166.3 kB / 479.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.383, allocations: 9.25 kB / 479.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3831, allocations: 2.938 kB / 479.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3832, allocations: 68.22 kB / 479.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3832, allocations: 1.094 kB / 479.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3832, allocations: 4.75 kB / 479.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3833, allocations: 2.719 kB / 479.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.3833, allocations: 34.95 kB / 479.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3837, allocations: 320.4 kB / 479.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.3838, allocations: 54.84 kB / 479.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.3838, allocations: 33.11 kB / 479.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3838, allocations: 5.688 kB / 479.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.3839, allocations: 36.41 kB / 479.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3839, allocations: 0 / 479.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002432/0.3841, allocations: 112.8 kB / 480 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.3841, allocations: 53.31 kB / 480.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.803e-05/0.3842, allocations: 97.8 kB / 480.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.3842, allocations: 25.7 kB / 480.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.525e-05/0.3842, allocations: 93.78 kB / 480.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3842, allocations: 54.39 kB / 480.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3843, allocations: 22.06 kB / 480.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.3843, allocations: 318.6 kB / 480.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/0.3844, allocations: 16.5 kB / 480.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.3844, allocations: 21.19 kB / 480.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.3845, allocations: 60.78 kB / 480.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3845, allocations: 4 kB / 480.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001071/0.3846, allocations: 85.7 kB / 480.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3846, allocations: 6.109 kB / 480.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3846, allocations: 1.125 kB / 480.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3847, allocations: 0 / 480.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.3847, allocations: 7.016 kB / 480.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3847, allocations: 1.094 kB / 480.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.3848, allocations: 5.812 kB / 480.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3848, allocations: 5.219 kB / 480.9 MB, free: 5.641 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 5.048e-05/0.3848, allocations: 113.8 kB / 481 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3849, allocations: 5.922 kB / 481 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3849, allocations: 9.188 kB / 481 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3849, allocations: 1.453 kB / 481 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3849, allocations: 4.641 kB / 481 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3849, allocations: 9.203 kB / 481 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.385, allocations: 181.8 kB / 481.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3851, allocations: 0.5156 kB / 481.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.3851, allocations: 2.953 kB / 481.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3851, allocations: 1.5 kB / 481.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3851, allocations: 4 kB / 481.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3851, allocations: 2.031 kB / 481.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3851, allocations: 0 / 481.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3852, allocations: 200.3 kB / 481.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3853, allocations: 79.28 kB / 481.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.3853, allocations: 1.5 kB / 481.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.3854, allocations: 0.6094 kB / 481.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.3854, allocations: 11.03 kB / 481.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3854, allocations: 5.188 kB / 481.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.073e-05/0.3854, allocations: 75.89 kB / 481.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3854, allocations: 0 / 481.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.3857, allocations: 25.98 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.0004674/0.3861, allocations: 0.7453 MB / 482.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3863, allocations: 107.7 kB / 482.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3864, allocations: 5.469 kB / 482.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.3864, allocations: 94.91 kB / 482.6 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.001318/0.3878, allocations: 34.05 kB / 482.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.3884, allocations: 313.9 kB / 482.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.3886, allocations: 0.714 MB / 483.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.3887, allocations: 14 kB / 483.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3888, allocations: 43.3 kB / 483.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3888, allocations: 0 / 483.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4174, allocations: 4.049 MB / 487.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.606, allocations: 14.22 kB / 487.7 MB, free: 2.273 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)