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.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.00119/0.00119, allocations: 193.8 kB / 16.13 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1416/0.1416, allocations: 2.756 MB / 292.7 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 353.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1034, allocations: 50.24 MB / 404 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.1929/0.2963, allocations: 19.06 MB / 423 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3002, allocations: 6.061 MB / 429.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3004, allocations: 0 / 429.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.3009, allocations: 237.9 kB / 429.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.3031, allocations: 1.114 MB / 430.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3033, allocations: 78.88 kB / 430.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.3036, allocations: 306.5 kB / 430.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.3036, allocations: 21.41 kB / 430.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.3037, allocations: 93.61 kB / 430.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3038, allocations: 111.6 kB / 431 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3039, allocations: 6.625 kB / 431 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.714/1.018, allocations: 35.51 MB / 466.5 MB, free: 21.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/1.018, allocations: 33.78 kB / 466.6 MB, free: 21.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/1.018, allocations: 130 kB / 466.7 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/1.021, allocations: 0.4942 MB / 467.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.021, allocations: 1.406 kB / 467.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/1.021, allocations: 0 / 467.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/1.021, allocations: 0 / 467.2 MB, free: 20.99 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.0005766/1.021, allocations: 0.5608 MB / 467.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.021, allocations: 9.969 kB / 467.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/1.022, allocations: 205.4 kB / 468 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/1.022, allocations: 196.9 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/1.022, allocations: 18.41 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/1.022, allocations: 21.88 kB / 468.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/1.023, allocations: 336.1 kB / 468.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.023, allocations: 0 / 468.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/1.023, allocations: 11.34 kB / 468.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.023, allocations: 10.34 kB / 468.6 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/1.023, allocations: 263.3 kB / 468.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/1.024, allocations: 2.13 MB / 470.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.024, allocations: 134.3 kB / 471.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/1.025, allocations: 109.8 kB / 471.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/1.025, allocations: 0.6903 MB / 471.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.025, allocations: 35.56 kB / 471.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/1.025, allocations: 1.062 kB / 471.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003201/1.025, allocations: 183.2 kB / 472.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.025, allocations: 80.67 kB / 472.2 MB, free: 17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/1.026, allocations: 99.83 kB / 472.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/1.026, allocations: 25.7 kB / 472.3 MB, free: 16.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/1.026, allocations: 161.4 kB / 472.4 MB, free: 16.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/1.026, allocations: 108.5 kB / 472.6 MB, free: 16.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/1.026, allocations: 34.78 kB / 472.6 MB, free: 16.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/1.026, allocations: 332.5 kB / 472.9 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/1.026, allocations: 29.88 kB / 472.9 MB, free: 16.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/1.026, allocations: 81.83 kB / 473 MB, free: 16.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/1.026, allocations: 148.1 kB / 473.2 MB, free: 16.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.026, allocations: 0 / 473.2 MB, free: 16.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002011/1.026, allocations: 163.1 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.026, allocations: 4.031 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.026, allocations: 10.78 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.026, allocations: 2.688 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/1.026, allocations: 7.344 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.026, allocations: 2.656 kB / 473.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/1.027, allocations: 26.83 kB / 473.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/1.027, allocations: 13.03 kB / 473.4 MB, free: 15.98 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.053e-05/1.027, allocations: 130.3 kB / 473.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/1.027, allocations: 15.27 kB / 473.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/1.027, allocations: 425 kB / 473.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003634/1.028, allocations: 345.2 kB / 474.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.028, allocations: 1.25 kB / 474.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.028, allocations: 1.188 kB / 474.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/1.029, allocations: 1.029 MB / 475.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.029, allocations: 4.906 kB / 475.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/1.029, allocations: 54.5 kB / 475.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.029, allocations: 2.406 kB / 475.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.029, allocations: 5.156 kB / 475.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/1.029, allocations: 2.062 kB / 475.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.029, allocations: 1.312 kB / 475.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/1.029, allocations: 0.5039 MB / 475.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/1.029, allocations: 108.4 kB / 476 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/1.029, allocations: 6.125 kB / 476 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/1.03, allocations: 47.52 kB / 476 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/1.03, allocations: 20.27 kB / 476.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.03, allocations: 6.688 kB / 476.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.046e-05/1.03, allocations: 82.44 kB / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0 / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004518/1.03, allocations: 106 kB / 476.3 MB, free: 14.17 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.0003695/1.031, allocations: 214.1 kB / 476.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003958/1.031, allocations: 297 kB / 476.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.031, allocations: 0 / 476.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/1.031, allocations: 173.4 kB / 476.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/1.032, allocations: 159.8 kB / 477.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/1.033, allocations: 0.7943 MB / 477.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.033, allocations: 0.8014 MB / 478.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/1.034, allocations: 34.31 kB / 478.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/1.034, allocations: 24.41 kB / 478.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/1.034, allocations: 4 kB / 478.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Templates: time 0.0113/1.045, allocations: 5.822 MB / 484.6 MB, free: 11.96 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)