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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 128 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.001217/0.001217, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1201/0.1201, allocations: 2.759 MB / 293.1 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.91 kB / 354.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1134, allocations: 50.23 MB / 404.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.187/0.3005, allocations: 19.11 MB / 423.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.3042, allocations: 6.074 MB / 429.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3044, allocations: 3.188 kB / 429.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.3049, allocations: 255.5 kB / 430.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3072, allocations: 1.205 MB / 431.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.3075, allocations: 88.2 kB / 431.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3078, allocations: 303.8 kB / 431.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.3078, allocations: 23.2 kB / 431.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.3079, allocations: 104.8 kB / 431.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.308, allocations: 102.6 kB / 431.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.308, allocations: 13.03 kB / 431.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4823/0.7903, allocations: 38.61 MB / 470.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.7904, allocations: 31.3 kB / 470.5 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.7907, allocations: 132.5 kB / 470.7 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.7933, allocations: 0.5027 MB / 471.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7933, allocations: 4 kB / 471.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7933, allocations: 0 / 471.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.7933, allocations: 1.031 kB / 471.2 MB, free: 17.87 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.0007968/0.7941, allocations: 0.5615 MB / 471.7 MB, free: 17.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7942, allocations: 9.375 kB / 471.8 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.7951, allocations: 200.2 kB / 471.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.7953, allocations: 189.9 kB / 472.1 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.7953, allocations: 17.72 kB / 472.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.7953, allocations: 22.69 kB / 472.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.7958, allocations: 343.2 kB / 472.5 MB, free: 17.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7958, allocations: 0 / 472.5 MB, free: 17.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.7958, allocations: 14.39 kB / 472.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.7958, allocations: 14.22 kB / 472.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.7961, allocations: 258.3 kB / 472.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.7975, allocations: 2.144 MB / 474.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.7977, allocations: 131.6 kB / 475.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.7978, allocations: 105.3 kB / 475.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/0.7983, allocations: 0.6812 MB / 475.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7984, allocations: 35.09 kB / 475.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.313e-06/0.7984, allocations: 0 / 475.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003769/0.7988, allocations: 183.3 kB / 476.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7988, allocations: 81.05 kB / 476.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.7989, allocations: 106.8 kB / 476.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.7989, allocations: 34.83 kB / 476.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.799, allocations: 158.1 kB / 476.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.799, allocations: 107.7 kB / 476.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.7991, allocations: 39.02 kB / 476.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.7991, allocations: 328.5 kB / 476.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.7992, allocations: 34.2 kB / 476.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.7993, allocations: 84.45 kB / 477 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.7994, allocations: 141.6 kB / 477.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7994, allocations: 0 / 477.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002185/0.7996, allocations: 161.2 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7997, allocations: 6.469 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7997, allocations: 1.125 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7997, allocations: 2.25 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.7998, allocations: 16.12 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7998, allocations: 2.844 kB / 477.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.7999, allocations: 15.47 kB / 477.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7999, allocations: 4.531 kB / 477.4 MB, free: 12.67 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.203e-05/0.8, allocations: 130.5 kB / 477.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.8, allocations: 12.16 kB / 477.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.8001, allocations: 10.91 kB / 477.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8001, allocations: 4.422 kB / 477.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8001, allocations: 0 / 477.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8001, allocations: 0.8438 kB / 477.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.8004, allocations: 282.3 kB / 477.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8004, allocations: 1.344 kB / 477.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.8004, allocations: 6.094 kB / 477.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8004, allocations: 4.344 kB / 477.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.8005, allocations: 2.312 kB / 477.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8005, allocations: 5.094 kB / 477.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8005, allocations: 0 / 477.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.8019, allocations: 317.6 kB / 478.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.8019, allocations: 100.5 kB / 478.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.802, allocations: 1.156 kB / 478.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8021, allocations: 1.062 kB / 478.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.8021, allocations: 7.375 kB / 478.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.8021, allocations: 2.281 kB / 478.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.545e-05/0.8021, allocations: 89.94 kB / 478.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8021, allocations: 0 / 478.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000821/0.803, allocations: 87.19 kB / 478.4 MB, free: 11.78 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.0003212/0.8033, allocations: 193.8 kB / 478.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.8036, allocations: 236.7 kB / 478.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8036, allocations: 0 / 478.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.8037, allocations: 198 kB / 479 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.8047, allocations: 87.86 kB / 479.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.8055, allocations: 0.5044 MB / 479.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.8058, allocations: 0.7979 MB / 480.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.8059, allocations: 27.48 kB / 480.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.806, allocations: 22.38 kB / 480.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.806, allocations: 0 / 480.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Templates: time 0.00876/0.8148, allocations: 4.678 MB / 485.1 MB, free: 9.734 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)