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.0007414/0.0007415, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004092/0.004092, allocations: 169.3 kB / 16.26 MB, free: 6.66 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.332/1.332, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1195/0.1195, allocations: 2.785 MB / 294.2 MB, free: 4.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 8 kB / 356.3 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08412, allocations: 51.25 MB / 407.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1842/0.2683, allocations: 18.49 MB / 426.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.2722, allocations: 5.97 MB / 432 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.2723, allocations: 3.281 kB / 432 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.2728, allocations: 238 kB / 432.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.2751, allocations: 1.104 MB / 433.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.2754, allocations: 89.64 kB / 433.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.2756, allocations: 296.7 kB / 433.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.2757, allocations: 26.06 kB / 433.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.2758, allocations: 95.27 kB / 433.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.276, allocations: 106.8 kB / 434 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.276, allocations: 10.38 kB / 434 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9217/1.198, allocations: 35.5 MB / 469.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/1.198, allocations: 29.62 kB / 469.5 MB, free: 19.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/1.198, allocations: 152.6 kB / 469.7 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/1.2, allocations: 0.4972 MB / 470.2 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.2, allocations: 0 / 470.2 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/1.2, allocations: 0 / 470.2 MB, free: 19.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.2, allocations: 3.938 kB / 470.2 MB, free: 19.37 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.0008627/1.201, allocations: 0.5266 MB / 470.7 MB, free: 18.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.201, allocations: 12.75 kB / 470.7 MB, free: 18.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.984e-05/1.201, allocations: 67.03 kB / 470.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/1.202, allocations: 204.3 kB / 471 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/1.203, allocations: 185 kB / 471.1 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/1.203, allocations: 22.34 kB / 471.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/1.203, allocations: 28.22 kB / 471.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/1.204, allocations: 330.6 kB / 471.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/1.204, allocations: 1.125 kB / 471.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000687/1.204, allocations: 9.656 kB / 471.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/1.204, allocations: 13.39 kB / 471.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/1.205, allocations: 262.8 kB / 471.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/1.207, allocations: 2.128 MB / 473.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/1.207, allocations: 142.7 kB / 474.1 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/1.207, allocations: 109.4 kB / 474.2 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/1.208, allocations: 0.6845 MB / 474.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/1.208, allocations: 39.34 kB / 474.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.303e-06/1.208, allocations: 0 / 474.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003146/1.208, allocations: 180.4 kB / 475.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/1.208, allocations: 82.3 kB / 475.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/1.208, allocations: 103.3 kB / 475.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/1.208, allocations: 25.7 kB / 475.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/1.208, allocations: 157.1 kB / 475.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/1.208, allocations: 101.7 kB / 475.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/1.208, allocations: 32.06 kB / 475.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/1.208, allocations: 332 kB / 475.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/1.208, allocations: 37.81 kB / 475.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/1.209, allocations: 83.92 kB / 476 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.209, allocations: 140.6 kB / 476.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.209, allocations: 0 / 476.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001969/1.209, allocations: 159.4 kB / 476.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.209, allocations: 5.75 kB / 476.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.209, allocations: 7.969 kB / 476.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/1.209, allocations: 4.188 kB / 476.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/1.209, allocations: 16.52 kB / 476.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.209, allocations: 1.75 kB / 476.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/1.209, allocations: 28.17 kB / 476.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.209, allocations: 4.344 kB / 476.4 MB, free: 14.89 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 8.842e-05/1.209, allocations: 132.9 kB / 476.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/1.209, allocations: 16.31 kB / 476.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/1.21, allocations: 425.1 kB / 476.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003937/1.21, allocations: 336.4 kB / 477.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.21, allocations: 0.9375 kB / 477.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.21, allocations: 3.141 kB / 477.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/1.212, allocations: 1.043 MB / 478.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.212, allocations: 1.156 kB / 478.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/1.212, allocations: 54.42 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.212, allocations: 1.188 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.212, allocations: 5.062 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.212, allocations: 2.188 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.212, allocations: 3.938 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/1.212, allocations: 0.4999 MB / 478.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.212, allocations: 105.4 kB / 479 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.212, allocations: 5.375 kB / 479 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/1.213, allocations: 46.89 kB / 479 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/1.213, allocations: 20.44 kB / 479 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.213, allocations: 11.12 kB / 479.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.055e-05/1.213, allocations: 78.34 kB / 479.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.213, allocations: 0 / 479.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005659/1.213, allocations: 106.2 kB / 479.2 MB, free: 13.53 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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0009437/1.214, allocations: 1.145 MB / 480.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003995/1.215, allocations: 304.3 kB / 480.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.215, allocations: 0 / 480.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/1.215, allocations: 168 kB / 480.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.216, allocations: 171.4 kB / 481 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.217, allocations: 0.8989 MB / 481.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.218, allocations: 0.8071 MB / 482.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/1.218, allocations: 30.89 kB / 482.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.218, allocations: 117.6 kB / 482.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/1.218, allocations: 0 / 482.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/1.271, allocations: 8.646 MB / 491.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.271, allocations: 267.1 kB / 491.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/3.092, allocations: 0 / 491.8 MB, free: 9.824 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)