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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001112/0.001112, allocations: 190.3 kB / 16.14 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.09913/0.09913, allocations: 2.761 MB / 292.7 MB, free: 3.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 353.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.07829, allocations: 50.24 MB / 404.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.1478/0.2262, allocations: 19.06 MB / 423.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.2297, allocations: 6.055 MB / 429.2 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.2298, allocations: 7.281 kB / 429.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.2303, allocations: 233 kB / 429.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.232, allocations: 1.112 MB / 430.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2322, allocations: 74.02 kB / 430.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2324, allocations: 310 kB / 430.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.2325, allocations: 24.47 kB / 430.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.2326, allocations: 93.53 kB / 431 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.2327, allocations: 111.3 kB / 431.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2327, allocations: 6.156 kB / 431.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7294/0.9621, allocations: 35.51 MB / 466.6 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.9622, allocations: 33.95 kB / 466.7 MB, free: 21.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.9624, allocations: 129.9 kB / 466.8 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.9641, allocations: 0.4961 MB / 467.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9641, allocations: 0 / 467.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.9641, allocations: 0 / 467.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.9642, allocations: 0 / 467.3 MB, free: 21.04 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.0005294/0.9647, allocations: 0.5663 MB / 467.9 MB, free: 20.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9647, allocations: 10.06 kB / 467.9 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.9648, allocations: 69.16 kB / 467.9 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.9655, allocations: 201.8 kB / 468.1 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.9656, allocations: 195.5 kB / 468.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.9656, allocations: 17.81 kB / 468.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.9656, allocations: 26.44 kB / 468.4 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.9663, allocations: 335.8 kB / 468.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.9664, allocations: 0 / 468.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.9664, allocations: 13.48 kB / 468.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.9664, allocations: 10.5 kB / 468.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.9667, allocations: 263.3 kB / 469 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.9677, allocations: 2.124 MB / 471.1 MB, free: 18.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.9679, allocations: 138 kB / 471.2 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.968, allocations: 113.3 kB / 471.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.9684, allocations: 0.6802 MB / 472 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.9684, allocations: 35.84 kB / 472.1 MB, free: 17.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.252e-06/0.9684, allocations: 0 / 472.1 MB, free: 17.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003041/0.9687, allocations: 183.8 kB / 472.2 MB, free: 17.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.9688, allocations: 81.59 kB / 472.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.9688, allocations: 99.42 kB / 472.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.9688, allocations: 27.2 kB / 472.4 MB, free: 16.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.9689, allocations: 159 kB / 472.6 MB, free: 16.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.9689, allocations: 107.9 kB / 472.7 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.969, allocations: 40.38 kB / 472.7 MB, free: 16.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.969, allocations: 325.5 kB / 473.1 MB, free: 16.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.9691, allocations: 41.48 kB / 473.1 MB, free: 16.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.9691, allocations: 77.88 kB / 473.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.9693, allocations: 147.9 kB / 473.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9693, allocations: 0 / 473.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001863/0.9695, allocations: 162.6 kB / 473.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9695, allocations: 9.312 kB / 473.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9695, allocations: 7.281 kB / 473.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.9695, allocations: 0 / 473.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.9696, allocations: 13.16 kB / 473.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9696, allocations: 5.734 kB / 473.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.9697, allocations: 24.16 kB / 473.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9697, allocations: 8.375 kB / 473.6 MB, free: 15.94 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.416e-05/0.9698, allocations: 133.9 kB / 473.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.9699, allocations: 12.44 kB / 473.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.9703, allocations: 425.1 kB / 474.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003091/0.9706, allocations: 337.8 kB / 474.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9706, allocations: 4 kB / 474.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9706, allocations: 1.156 kB / 474.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.9716, allocations: 1.038 MB / 475.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9716, allocations: 1.312 kB / 475.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.9717, allocations: 53.89 kB / 475.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.9717, allocations: 2.25 kB / 475.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9717, allocations: 5.281 kB / 475.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9717, allocations: 2.188 kB / 475.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9718, allocations: 1.375 kB / 475.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.9721, allocations: 0.5074 MB / 476.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.9722, allocations: 104.5 kB / 476.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.9722, allocations: 6.25 kB / 476.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.9724, allocations: 51.77 kB / 476.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.9725, allocations: 20.44 kB / 476.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.9725, allocations: 5.938 kB / 476.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.957e-05/0.9725, allocations: 82.59 kB / 476.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9725, allocations: 0 / 476.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.9729, allocations: 102.5 kB / 476.4 MB, free: 14.13 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.0007234/0.9736, allocations: 1.146 MB / 477.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.974, allocations: 304.6 kB / 477.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.974, allocations: 0 / 477.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.9742, allocations: 168.1 kB / 478 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.9751, allocations: 159.8 kB / 478.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.9762, allocations: 0.8698 MB / 479.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.9764, allocations: 0.807 MB / 479.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.9765, allocations: 34.08 kB / 479.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.9766, allocations: 118.2 kB / 480 MB, free: 11.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.9766, allocations: 3.938 kB / 480 MB, free: 11.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.9948, allocations: 8.833 MB / 488.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.995, allocations: 259 kB / 489.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.806, allocations: 4 kB / 489.1 MB, free: 10.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)