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.001034/0.001034, 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.001068/0.001068, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.09909/0.09909, allocations: 2.764 MB / 292.7 MB, free: 3.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 353.8 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.07934, allocations: 50.24 MB / 404.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1516/0.2309, allocations: 19.07 MB / 423.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2343, allocations: 6.057 MB / 429.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.2344, allocations: 3.094 kB / 429.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.2349, allocations: 234.4 kB / 429.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.2366, allocations: 1.11 MB / 430.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.2368, allocations: 82.11 kB / 430.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.237, allocations: 305.3 kB / 430.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.2371, allocations: 20.88 kB / 430.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2371, allocations: 88.47 kB / 431 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.2372, allocations: 121.4 kB / 431.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2373, allocations: 6.5 kB / 431.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8243/1.062, allocations: 35.5 MB / 466.6 MB, free: 21.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/1.062, allocations: 29.73 kB / 466.7 MB, free: 21.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/1.062, allocations: 134.3 kB / 466.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/1.064, allocations: 0.4969 MB / 467.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.064, allocations: 0 / 467.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/1.064, allocations: 5.844 kB / 467.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/1.064, allocations: 0 / 467.3 MB, free: 21.59 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.0005896/1.065, allocations: 0.5605 MB / 467.9 MB, free: 21.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.065, allocations: 9.75 kB / 467.9 MB, free: 21.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/1.065, allocations: 64.41 kB / 467.9 MB, free: 21.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/1.065, allocations: 209.4 kB / 468.1 MB, free: 20.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.066, allocations: 189.5 kB / 468.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/1.066, allocations: 18.97 kB / 468.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/1.066, allocations: 26.88 kB / 468.4 MB, free: 20.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/1.066, allocations: 339.4 kB / 468.7 MB, free: 20.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.066, allocations: 0.9688 kB / 468.7 MB, free: 20.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.066, allocations: 9.969 kB / 468.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/1.066, allocations: 10.48 kB / 468.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/1.066, allocations: 263.4 kB / 469 MB, free: 20.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/1.068, allocations: 2.123 MB / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.068, allocations: 134.5 kB / 471.2 MB, free: 18.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.068, allocations: 109.9 kB / 471.3 MB, free: 18.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/1.068, allocations: 0.6873 MB / 472 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/1.068, allocations: 39.66 kB / 472.1 MB, free: 17.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/1.068, allocations: 0 / 472.1 MB, free: 17.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003003/1.069, allocations: 190.6 kB / 472.3 MB, free: 17.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/1.069, allocations: 82.95 kB / 472.3 MB, free: 17.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/1.069, allocations: 102.4 kB / 472.4 MB, free: 17.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/1.069, allocations: 26.92 kB / 472.5 MB, free: 17.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/1.069, allocations: 162 kB / 472.6 MB, free: 16.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.069, allocations: 104.1 kB / 472.7 MB, free: 16.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/1.069, allocations: 39.23 kB / 472.8 MB, free: 16.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/1.069, allocations: 323.9 kB / 473.1 MB, free: 16.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/1.069, allocations: 30.41 kB / 473.1 MB, free: 16.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/1.069, allocations: 85.02 kB / 473.2 MB, free: 16.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.069, allocations: 143.4 kB / 473.3 MB, free: 16.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.069, allocations: 0 / 473.3 MB, free: 16.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002199/1.07, allocations: 166.8 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.07, allocations: 5.156 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.07, allocations: 2.062 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.07, allocations: 1.188 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/1.07, allocations: 13.53 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.07, allocations: 4.797 kB / 473.5 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.07, allocations: 32.16 kB / 473.5 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/1.07, allocations: 5.125 kB / 473.6 MB, free: 16.21 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.459e-05/1.07, allocations: 133.5 kB / 473.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/1.07, allocations: 11.94 kB / 473.7 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/1.07, allocations: 429.1 kB / 474.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003261/1.071, allocations: 338 kB / 474.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.071, allocations: 1.188 kB / 474.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.071, allocations: 3.469 kB / 474.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/1.072, allocations: 1.035 MB / 475.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.072, allocations: 5.188 kB / 475.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/1.072, allocations: 51.12 kB / 475.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/1.072, allocations: 1.281 kB / 475.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.072, allocations: 6.281 kB / 475.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.072, allocations: 4.906 kB / 475.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.072, allocations: 1.25 kB / 475.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/1.072, allocations: 0.5008 MB / 476.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/1.072, allocations: 107.5 kB / 476.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.073, allocations: 6.156 kB / 476.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/1.073, allocations: 44.16 kB / 476.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/1.073, allocations: 16.14 kB / 476.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.073, allocations: 9.906 kB / 476.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.206e-05/1.073, allocations: 86.31 kB / 476.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.073, allocations: 3.938 kB / 476.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000459/1.073, allocations: 113.8 kB / 476.4 MB, free: 14.39 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.0007528/1.074, allocations: 1.124 MB / 477.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/1.074, allocations: 307.1 kB / 477.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.074, allocations: 0 / 477.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/1.075, allocations: 164.7 kB / 478 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/1.076, allocations: 165.5 kB / 478.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/1.077, allocations: 0.8689 MB / 479 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/1.077, allocations: 0.8082 MB / 479.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/1.077, allocations: 33.23 kB / 479.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.077, allocations: 118.3 kB / 480 MB, free: 11.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/1.077, allocations: 0 / 480 MB, free: 11.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/1.104, allocations: 8.837 MB / 488.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.104, allocations: 256.6 kB / 489.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.927, allocations: 3.938 kB / 489.1 MB, free: 10.55 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)