Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 108 kB / 15.6 MB, free: 132 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.001066/0.001066, allocations: 198 kB / 16.54 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1179/0.1179, allocations: 2.762 MB / 293.1 MB, free: 3.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 354.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1007, allocations: 50.23 MB / 404.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1947/0.2955, allocations: 19.11 MB / 423.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.2993, allocations: 6.077 MB / 429.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2995, allocations: 0 / 429.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.3, allocations: 260.5 kB / 430.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.3026, allocations: 1.203 MB / 431.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3029, allocations: 83.97 kB / 431.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.3033, allocations: 303.4 kB / 431.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.3034, allocations: 29.66 kB / 431.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.3035, allocations: 95.39 kB / 431.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3036, allocations: 112.1 kB / 431.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3037, allocations: 9.438 kB / 431.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2363/0.54, allocations: 38.13 MB / 470 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.5401, allocations: 32.16 kB / 470.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.5405, allocations: 129.5 kB / 470.2 MB, free: 18.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.5439, allocations: 0.5006 MB / 470.7 MB, free: 18.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.544, allocations: 1.25 kB / 470.7 MB, free: 18.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.544, allocations: 0 / 470.7 MB, free: 18.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.544, allocations: 0 / 470.7 MB, free: 18.52 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.0006769/0.5447, allocations: 0.5617 MB / 471.2 MB, free: 18.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5447, allocations: 9.75 kB / 471.3 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.5468, allocations: 205.5 kB / 471.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.547, allocations: 193.7 kB / 471.6 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.547, allocations: 15.53 kB / 471.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.5471, allocations: 23.59 kB / 471.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.5475, allocations: 344.3 kB / 472 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5475, allocations: 0 / 472 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.5476, allocations: 6.531 kB / 472 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.5476, allocations: 14.81 kB / 472 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.5479, allocations: 259.9 kB / 472.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.5494, allocations: 2.141 MB / 474.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.5495, allocations: 134.8 kB / 474.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5497, allocations: 117.3 kB / 474.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/0.5502, allocations: 0.6803 MB / 475.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5502, allocations: 35.5 kB / 475.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.5502, allocations: 0 / 475.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004152/0.5506, allocations: 191.9 kB / 475.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5507, allocations: 78.23 kB / 475.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.5508, allocations: 103.5 kB / 475.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.5508, allocations: 25.7 kB / 475.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.5509, allocations: 165.7 kB / 475.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.5509, allocations: 99.78 kB / 476 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.551, allocations: 39.61 kB / 476.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.5511, allocations: 324.4 kB / 476.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.5511, allocations: 38.28 kB / 476.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.5512, allocations: 84.52 kB / 476.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5514, allocations: 147.8 kB / 476.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5514, allocations: 0 / 476.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002319/0.5516, allocations: 166.1 kB / 476.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5516, allocations: 9.656 kB / 476.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5517, allocations: 1.062 kB / 476.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5517, allocations: 2.562 kB / 476.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.5518, allocations: 12.28 kB / 476.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5518, allocations: 2.469 kB / 476.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.5518, allocations: 16.44 kB / 476.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5519, allocations: 4.562 kB / 476.9 MB, free: 13.18 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.365e-05/0.552, allocations: 134.6 kB / 477 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.552, allocations: 15 kB / 477 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.5521, allocations: 10.59 kB / 477 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5521, allocations: 1.344 kB / 477 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5521, allocations: 1.375 kB / 477 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5521, allocations: 0 / 477 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5524, allocations: 275.3 kB / 477.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5524, allocations: 5.781 kB / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.5524, allocations: 7.594 kB / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5525, allocations: 0 / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5525, allocations: 4.922 kB / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5525, allocations: 1.812 kB / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5525, allocations: 0 / 477.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.5543, allocations: 316.8 kB / 477.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.5544, allocations: 99.8 kB / 477.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.5544, allocations: 1.344 kB / 477.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5545, allocations: 1.125 kB / 477.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.5545, allocations: 7.344 kB / 477.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5545, allocations: 1.969 kB / 477.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.61e-05/0.5546, allocations: 82.34 kB / 477.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.5546, allocations: 0 / 477.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.555, allocations: 95.88 kB / 477.9 MB, free: 12.29 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.0003739/0.5554, allocations: 184.7 kB / 478.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5557, allocations: 237 kB / 478.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5558, allocations: 0 / 478.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5559, allocations: 202.6 kB / 478.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.5566, allocations: 77.33 kB / 478.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.5574, allocations: 0.5084 MB / 479.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5577, allocations: 0.7989 MB / 479.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.5578, allocations: 27.16 kB / 479.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.5578, allocations: 22.75 kB / 480 MB, free: 10.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5579, allocations: 0 / 480 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01131/0.5692, allocations: 4.674 MB / 484.6 MB, free: 10.27 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)