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.001144/0.001144, 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.001125/0.001125, allocations: 196.6 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1313/0.1313, allocations: 2.752 MB / 293.1 MB, free: 3.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 354.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09933, allocations: 50.22 MB / 404.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.2108/0.3102, allocations: 19.11 MB / 423.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.3141, allocations: 6.081 MB / 429.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.3143, allocations: 2.844 kB / 429.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.3149, allocations: 258.7 kB / 430.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.3172, allocations: 1.204 MB / 431.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.3175, allocations: 81.77 kB / 431.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3177, allocations: 309.4 kB / 431.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.945e-05/0.3178, allocations: 26.81 kB / 431.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.3179, allocations: 90.59 kB / 431.9 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.318, allocations: 112.1 kB / 432 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.318, allocations: 6.156 kB / 432 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5251/0.8432, allocations: 38.62 MB / 470.6 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.8433, allocations: 29.92 kB / 470.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.8438, allocations: 128.5 kB / 470.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.8466, allocations: 0.5066 MB / 471.3 MB, free: 17.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8466, allocations: 0 / 471.3 MB, free: 17.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8466, allocations: 1.688 kB / 471.3 MB, free: 17.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.8466, allocations: 0 / 471.3 MB, free: 17.9 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.0007418/0.8474, allocations: 0.5634 MB / 471.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8474, allocations: 9.031 kB / 471.9 MB, free: 17.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.8475, allocations: 69.67 kB / 471.9 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/0.8484, allocations: 203.9 kB / 472.1 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8485, allocations: 190.3 kB / 472.3 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.8486, allocations: 22.94 kB / 472.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.8486, allocations: 27.78 kB / 472.4 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.8491, allocations: 336.1 kB / 472.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.8491, allocations: 0 / 472.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.8492, allocations: 14.03 kB / 472.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.8492, allocations: 10.7 kB / 472.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.8495, allocations: 261 kB / 473 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.8511, allocations: 2.132 MB / 475.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.8513, allocations: 134.5 kB / 475.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.8514, allocations: 108.6 kB / 475.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/0.8521, allocations: 0.6933 MB / 476 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.8522, allocations: 34.56 kB / 476.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.8522, allocations: 1.906 kB / 476.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.000416/0.8526, allocations: 181.3 kB / 476.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.8526, allocations: 82.45 kB / 476.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.8527, allocations: 111 kB / 476.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.8528, allocations: 25.7 kB / 476.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.8528, allocations: 160.6 kB / 476.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.8529, allocations: 105 kB / 476.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.853, allocations: 34.89 kB / 476.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.8531, allocations: 328.9 kB / 477.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.8531, allocations: 34.56 kB / 477.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.8532, allocations: 84.42 kB / 477.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.8534, allocations: 144.2 kB / 477.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8534, allocations: 4 kB / 477.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002844/0.8537, allocations: 162.3 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8537, allocations: 4.875 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8538, allocations: 2.281 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8538, allocations: 1.219 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.8539, allocations: 9.25 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8539, allocations: 2.375 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.854, allocations: 14.84 kB / 477.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.854, allocations: 4.781 kB / 477.5 MB, free: 12.62 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.619e-05/0.8541, allocations: 138.7 kB / 477.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.8542, allocations: 12.62 kB / 477.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.8542, allocations: 9.844 kB / 477.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8542, allocations: 5.109 kB / 477.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8542, allocations: 1.125 kB / 477.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8542, allocations: 1.281 kB / 477.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.8546, allocations: 285.2 kB / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8546, allocations: 0 / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.8546, allocations: 3.438 kB / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8546, allocations: 5.25 kB / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.8546, allocations: 2.344 kB / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8546, allocations: 0 / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8546, allocations: 1.219 kB / 478 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.8575, allocations: 328.4 kB / 478.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.8576, allocations: 89.23 kB / 478.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.8576, allocations: 4.438 kB / 478.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8577, allocations: 4 kB / 478.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.8578, allocations: 3.094 kB / 478.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8578, allocations: 3.312 kB / 478.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.8578, allocations: 82.78 kB / 478.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8578, allocations: 0 / 478.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.8585, allocations: 87.14 kB / 478.6 MB, free: 11.73 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.0008751/0.8594, allocations: 0.931 MB / 479.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.8597, allocations: 232.7 kB / 479.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8598, allocations: 0 / 479.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.8599, allocations: 203.6 kB / 479.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.8607, allocations: 88.09 kB / 480 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.8617, allocations: 0.5907 MB / 480.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.862, allocations: 0.7954 MB / 481.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.8622, allocations: 26.75 kB / 481.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.8623, allocations: 117.2 kB / 481.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.8623, allocations: 0 / 481.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.8947, allocations: 7.881 MB / 489.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.496, allocations: 13.3 kB / 489.4 MB, free: 8.215 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)