Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",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.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 152 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.001139/0.001139, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1218/0.1218, allocations: 2.758 MB / 293.1 MB, free: 3.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 59.91 kB / 354.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 50.24 MB / 404.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1784/0.2897, allocations: 19.11 MB / 423.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.2934, allocations: 6.077 MB / 429.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2936, allocations: 3.094 kB / 429.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.2941, allocations: 255.8 kB / 430.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2966, allocations: 1.21 MB / 431.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2969, allocations: 81.17 kB / 431.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.2972, allocations: 308.2 kB / 431.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.19e-05/0.2972, allocations: 31.62 kB / 431.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.2973, allocations: 92.03 kB / 431.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2974, allocations: 110.3 kB / 432 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2975, allocations: 9.406 kB / 432 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5094/0.8069, allocations: 38.62 MB / 470.6 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.8069, allocations: 26.69 kB / 470.6 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.8072, allocations: 132.8 kB / 470.8 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.8095, allocations: 0.5019 MB / 471.3 MB, free: 17.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8096, allocations: 0 / 471.3 MB, free: 17.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8096, allocations: 0 / 471.3 MB, free: 17.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.8096, allocations: 0 / 471.3 MB, free: 17.85 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.0007044/0.8103, allocations: 0.5609 MB / 471.8 MB, free: 17.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8104, allocations: 13.44 kB / 471.9 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.8104, allocations: 68.67 kB / 471.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.8113, allocations: 203.8 kB / 472.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.8114, allocations: 186.2 kB / 472.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.8114, allocations: 26.05 kB / 472.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.8115, allocations: 28.03 kB / 472.4 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.8119, allocations: 331.1 kB / 472.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8119, allocations: 8.906 kB / 472.7 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.812, allocations: 14.03 kB / 472.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.812, allocations: 10.88 kB / 472.7 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.8123, allocations: 264.1 kB / 473 MB, free: 16.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.8135, allocations: 2.132 MB / 475.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.8137, allocations: 135.1 kB / 475.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.8138, allocations: 109.5 kB / 475.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.8142, allocations: 0.6835 MB / 476 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.8143, allocations: 39.84 kB / 476.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.8143, allocations: 0 / 476.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003094/0.8146, allocations: 182.9 kB / 476.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.8146, allocations: 80.86 kB / 476.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.8147, allocations: 105.3 kB / 476.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.8147, allocations: 25.7 kB / 476.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.8147, allocations: 165.3 kB / 476.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.8148, allocations: 107.1 kB / 476.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.8148, allocations: 35.69 kB / 476.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.8149, allocations: 329.6 kB / 477.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.815, allocations: 36.83 kB / 477.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.815, allocations: 85.67 kB / 477.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.8152, allocations: 144 kB / 477.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8152, allocations: 0 / 477.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000221/0.8154, allocations: 158.5 kB / 477.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8155, allocations: 5.562 kB / 477.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8155, allocations: 4.688 kB / 477.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8155, allocations: 2.5 kB / 477.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.8156, allocations: 17.09 kB / 477.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.8156, allocations: 2.125 kB / 477.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.8157, allocations: 11.53 kB / 477.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.8157, allocations: 4.688 kB / 477.5 MB, free: 12.57 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 7.807e-05/0.8158, allocations: 131.3 kB / 477.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.8158, allocations: 15.44 kB / 477.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.8158, allocations: 10.53 kB / 477.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8159, allocations: 1.062 kB / 477.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8159, allocations: 192 / 477.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8159, allocations: 5.094 kB / 477.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.8162, allocations: 280.6 kB / 478 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8162, allocations: 0 / 478 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.8162, allocations: 7.344 kB / 478 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8162, allocations: 5.062 kB / 478 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.8162, allocations: 5.25 kB / 478 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8162, allocations: 1.062 kB / 478 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8162, allocations: 5.062 kB / 478 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.8177, allocations: 320.3 kB / 478.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.8178, allocations: 89.45 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.8178, allocations: 0.9688 kB / 478.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8179, allocations: 8.547 kB / 478.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.8179, allocations: 2.781 kB / 478.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.8179, allocations: 2.969 kB / 478.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.31e-05/0.818, allocations: 82.5 kB / 478.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.818, allocations: 0 / 478.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.8184, allocations: 90.67 kB / 478.6 MB, free: 11.68 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.0005912/0.819, allocations: 0.9274 MB / 479.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.8194, allocations: 236.6 kB / 479.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8194, allocations: 1.25 kB / 479.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.8195, allocations: 206.2 kB / 479.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.8202, allocations: 75.52 kB / 480 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.8213, allocations: 0.5897 MB / 480.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.8216, allocations: 0.7958 MB / 481.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.8217, allocations: 30.16 kB / 481.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.8218, allocations: 121.1 kB / 481.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.8218, allocations: 0 / 481.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.8527, allocations: 7.886 MB / 489.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.59, allocations: 13.22 kB / 489.4 MB, free: 8.156 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical_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_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)