Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001403/0.001403, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1313/0.1313, allocations: 2.769 MB / 292.8 MB, free: 3.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 353.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1025, allocations: 50.22 MB / 404.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.1915/0.2941, allocations: 19.03 MB / 423.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.2979, allocations: 6.032 MB / 429.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.2981, allocations: 0 / 429.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.2987, allocations: 236.9 kB / 429.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.301, allocations: 1.111 MB / 430.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3013, allocations: 88.45 kB / 430.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.3015, allocations: 305.4 kB / 430.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.3016, allocations: 24.64 kB / 430.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.3017, allocations: 94.34 kB / 431 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3018, allocations: 116.2 kB / 431.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3018, allocations: 6.312 kB / 431.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5073/0.8091, allocations: 38.1 MB / 469.3 MB, free: 18.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.8092, allocations: 28.92 kB / 469.3 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.8096, allocations: 132.5 kB / 469.4 MB, free: 18.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.8116, allocations: 0.4944 MB / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8116, allocations: 0 / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8116, allocations: 0 / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.8116, allocations: 4 kB / 469.9 MB, free: 18.3 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.0005897/0.8122, allocations: 0.5672 MB / 470.5 MB, free: 17.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8122, allocations: 8.406 kB / 470.5 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007627/0.813, allocations: 204.2 kB / 470.7 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.8131, allocations: 186 kB / 470.9 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.8131, allocations: 16.84 kB / 470.9 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.8132, allocations: 26.22 kB / 470.9 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.8136, allocations: 348.2 kB / 471.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8136, allocations: 0 / 471.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.8137, allocations: 13.81 kB / 471.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.8137, allocations: 14.52 kB / 471.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.814, allocations: 261.6 kB / 471.5 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.8152, allocations: 2.126 MB / 473.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.8153, allocations: 134.7 kB / 473.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.8154, allocations: 117.6 kB / 473.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/0.8159, allocations: 0.6807 MB / 474.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.8159, allocations: 36.75 kB / 474.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.816, allocations: 0 / 474.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003249/0.8163, allocations: 182.3 kB / 474.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.8163, allocations: 89.41 kB / 474.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.8164, allocations: 99.23 kB / 475 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.8164, allocations: 26.8 kB / 475 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.8164, allocations: 166.3 kB / 475.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.8165, allocations: 103.5 kB / 475.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.8165, allocations: 35.78 kB / 475.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.8166, allocations: 329.5 kB / 475.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.8166, allocations: 28.22 kB / 475.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.8167, allocations: 88.61 kB / 475.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.8168, allocations: 149.2 kB / 475.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8169, allocations: 0 / 475.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000205/0.8171, allocations: 162.3 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8171, allocations: 4.75 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8171, allocations: 2.094 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8171, allocations: 2.344 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.8172, allocations: 12.81 kB / 476.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8172, allocations: 5.219 kB / 476.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.8174, allocations: 28.7 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.8174, allocations: 3.938 kB / 476.1 MB, free: 13.27 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.988e-05/0.8175, allocations: 130.8 kB / 476.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.8175, allocations: 15.14 kB / 476.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.8179, allocations: 425.6 kB / 476.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003197/0.8183, allocations: 338 kB / 477 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.8183, allocations: 0 / 477 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8183, allocations: 5.031 kB / 477 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.8194, allocations: 1.043 MB / 478.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8194, allocations: 3.938 kB / 478.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.8196, allocations: 51.84 kB / 478.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8196, allocations: 1.031 kB / 478.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.8196, allocations: 10.28 kB / 478.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8196, allocations: 5.719 kB / 478.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8196, allocations: 0 / 478.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.82, allocations: 0.4934 MB / 478.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.8201, allocations: 107.7 kB / 478.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.8202, allocations: 6.219 kB / 478.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.8204, allocations: 55.88 kB / 478.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.8204, allocations: 16.61 kB / 478.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.8205, allocations: 10.56 kB / 478.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.8205, allocations: 82.23 kB / 478.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8205, allocations: 0 / 478.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.821, allocations: 105.8 kB / 479 MB, free: 11.46 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.0003564/0.8213, allocations: 195.2 kB / 479.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.8218, allocations: 324.8 kB / 479.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8218, allocations: 0 / 479.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.8219, allocations: 176.6 kB / 479.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.8229, allocations: 165.5 kB / 479.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.8237, allocations: 0.7989 MB / 480.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.824, allocations: 0.8044 MB / 481.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.8242, allocations: 30 kB / 481.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.8242, allocations: 24.44 kB / 481.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.8242, allocations: 0 / 481.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Templates: time 0.01358/0.8378, allocations: 6.076 MB / 487.6 MB, free: 9.223 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)