Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",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.001057/0.001057, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1244/0.1244, allocations: 2.764 MB / 293.2 MB, free: 3.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.12 kB / 354.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 50.23 MB / 404.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.1871/0.2925, allocations: 19.1 MB / 423.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.2964, allocations: 6.08 MB / 429.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.2967, allocations: 3.219 kB / 429.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.2973, allocations: 257.9 kB / 430.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.3001, allocations: 1.214 MB / 431.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3003, allocations: 80.39 kB / 431.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.3007, allocations: 301.4 kB / 431.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.3007, allocations: 21.5 kB / 431.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.3008, allocations: 98.58 kB / 431.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.301, allocations: 116.2 kB / 432 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.301, allocations: 6.344 kB / 432 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4423/0.7433, allocations: 38.62 MB / 470.6 MB, free: 18.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.7434, allocations: 31.8 kB / 470.7 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.7437, allocations: 127.3 kB / 470.8 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.7464, allocations: 0.5072 MB / 471.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7464, allocations: 0 / 471.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7464, allocations: 0 / 471.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.7464, allocations: 1.125 kB / 471.3 MB, free: 17.81 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0006625/0.7471, allocations: 0.5624 MB / 471.9 MB, free: 17.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7472, allocations: 9.281 kB / 471.9 MB, free: 17.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.7472, allocations: 67.83 kB / 471.9 MB, free: 17.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008613/0.7481, allocations: 201.1 kB / 472.1 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7482, allocations: 185.7 kB / 472.3 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.7483, allocations: 27 kB / 472.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.7483, allocations: 27.22 kB / 472.4 MB, free: 17.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.7488, allocations: 335.5 kB / 472.7 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.7488, allocations: 0 / 472.7 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.7488, allocations: 14.78 kB / 472.7 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7488, allocations: 9.875 kB / 472.7 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.7492, allocations: 264.4 kB / 473 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.7504, allocations: 2.132 MB / 475.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.7506, allocations: 134.9 kB / 475.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.7507, allocations: 105.5 kB / 475.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.7513, allocations: 0.6956 MB / 476 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.7513, allocations: 31.81 kB / 476.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.7513, allocations: 0 / 476.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003479/0.7517, allocations: 185.5 kB / 476.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.7517, allocations: 81.05 kB / 476.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.7518, allocations: 109.9 kB / 476.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.7518, allocations: 25.7 kB / 476.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.7519, allocations: 162.5 kB / 476.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.7519, allocations: 107.4 kB / 476.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.752, allocations: 35.48 kB / 476.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.752, allocations: 323.9 kB / 477.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.7521, allocations: 33.88 kB / 477.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.7522, allocations: 89.05 kB / 477.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.7524, allocations: 143.8 kB / 477.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7524, allocations: 5.031 kB / 477.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002474/0.7526, allocations: 158.6 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.7527, allocations: 8.906 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7527, allocations: 1.094 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7527, allocations: 2.219 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.7528, allocations: 9.188 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7528, allocations: 1.156 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.7529, allocations: 12.47 kB / 477.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7529, allocations: 4.875 kB / 477.5 MB, free: 12.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.878e-05/0.753, allocations: 142.8 kB / 477.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.753, allocations: 11.22 kB / 477.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.7531, allocations: 10.56 kB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.7531, allocations: 1.219 kB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7531, allocations: 1.125 kB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7531, allocations: 0 / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7534, allocations: 280.2 kB / 478 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7534, allocations: 4 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.7535, allocations: 3.469 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7535, allocations: 11.22 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7535, allocations: 2.188 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7535, allocations: 1.156 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7535, allocations: 1.125 kB / 478 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.7552, allocations: 317.7 kB / 478.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.7552, allocations: 95.72 kB / 478.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.7552, allocations: 1.125 kB / 478.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.7554, allocations: 5.031 kB / 478.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.7554, allocations: 3.453 kB / 478.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.7554, allocations: 2.188 kB / 478.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.7554, allocations: 90.02 kB / 478.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7554, allocations: 0 / 478.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.7559, allocations: 84 kB / 478.6 MB, free: 11.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006333/0.7566, allocations: 0.9235 MB / 479.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.7569, allocations: 233.7 kB / 479.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7569, allocations: 0 / 479.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.757, allocations: 206.9 kB / 479.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.7577, allocations: 91.47 kB / 480 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.7587, allocations: 0.5846 MB / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.759, allocations: 0.7955 MB / 481.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.7591, allocations: 26.41 kB / 481.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.7593, allocations: 121.8 kB / 481.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7593, allocations: 0 / 481.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.7859, allocations: 7.875 MB / 489.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.433, allocations: 9.266 kB / 489.4 MB, free: 8.129 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_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_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)