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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 197 kB / 16.14 MB, free: 6.703 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.145/0.145, allocations: 2.76 MB / 292.7 MB, free: 3.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009983/0.0009983, allocations: 55.91 kB / 353.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09505, allocations: 50.23 MB / 404 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1934/0.2885, allocations: 19.07 MB / 423 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.2929, allocations: 6.057 MB / 429.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.2932, allocations: 0 / 429.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.2938, allocations: 239.3 kB / 429.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.2972, allocations: 1.107 MB / 430.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.2976, allocations: 84.56 kB / 430.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.298, allocations: 305.4 kB / 430.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.2981, allocations: 23.05 kB / 430.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.2982, allocations: 91.25 kB / 430.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2983, allocations: 119.5 kB / 431 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2984, allocations: 6.031 kB / 431 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5253/0.8236, allocations: 35.06 MB / 466.1 MB, free: 21.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.8237, allocations: 29.91 kB / 466.1 MB, free: 21.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.824, allocations: 128 kB / 466.3 MB, free: 21.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.8265, allocations: 0.4984 MB / 466.7 MB, free: 21.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8265, allocations: 0 / 466.7 MB, free: 21.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8265, allocations: 0 / 466.7 MB, free: 21.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.8265, allocations: 0 / 466.7 MB, free: 21.22 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.0007172/0.8273, allocations: 0.5611 MB / 467.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.8273, allocations: 8.531 kB / 467.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.8283, allocations: 206.4 kB / 467.5 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.8284, allocations: 192.8 kB / 467.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.8285, allocations: 18.97 kB / 467.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.8285, allocations: 22.84 kB / 467.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.8291, allocations: 342.2 kB / 468.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.8291, allocations: 0 / 468.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8291, allocations: 9.969 kB / 468.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.8291, allocations: 12.67 kB / 468.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.8295, allocations: 261.5 kB / 468.4 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.8311, allocations: 2.133 MB / 470.5 MB, free: 18.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.8313, allocations: 129.8 kB / 470.6 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.8314, allocations: 105.9 kB / 470.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/0.8323, allocations: 0.6878 MB / 471.4 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.8323, allocations: 40.72 kB / 471.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.8323, allocations: 0 / 471.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004048/0.8327, allocations: 188.7 kB / 471.6 MB, free: 17.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.8328, allocations: 77.11 kB / 471.7 MB, free: 17.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.8328, allocations: 102.7 kB / 471.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.8329, allocations: 25.7 kB / 471.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.8329, allocations: 162.7 kB / 472 MB, free: 16.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.833, allocations: 105.4 kB / 472.1 MB, free: 16.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.8331, allocations: 35.59 kB / 472.1 MB, free: 16.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.8332, allocations: 332.5 kB / 472.5 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.8332, allocations: 34.47 kB / 472.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.8333, allocations: 80.23 kB / 472.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.8335, allocations: 140.2 kB / 472.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8335, allocations: 0 / 472.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002505/0.8337, allocations: 166.1 kB / 472.9 MB, free: 16.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8338, allocations: 9.656 kB / 472.9 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8338, allocations: 1.875 kB / 472.9 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8338, allocations: 5.891 kB / 472.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.8339, allocations: 16.09 kB / 472.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8339, allocations: 2.719 kB / 472.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.8341, allocations: 31.5 kB / 472.9 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.8341, allocations: 8.344 kB / 472.9 MB, free: 16.23 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 0.0001576/0.8343, allocations: 126.9 kB / 473.1 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.8343, allocations: 14.81 kB / 473.1 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.8348, allocations: 429.1 kB / 473.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003968/0.8352, allocations: 336.3 kB / 473.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.8353, allocations: 5.094 kB / 473.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8353, allocations: 4.453 kB / 473.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.8366, allocations: 1.026 MB / 474.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8367, allocations: 3.938 kB / 474.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.8368, allocations: 50.75 kB / 474.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.8368, allocations: 2.25 kB / 474.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.8369, allocations: 6.344 kB / 474.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.8369, allocations: 1.672 kB / 474.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8369, allocations: 9.234 kB / 474.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.8374, allocations: 0.4993 MB / 475.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8376, allocations: 112 kB / 475.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.8376, allocations: 6.344 kB / 475.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.8379, allocations: 44.16 kB / 475.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.8379, allocations: 20.05 kB / 475.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.8379, allocations: 6.312 kB / 475.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.838, allocations: 93.69 kB / 475.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.838, allocations: 0 / 475.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006151/0.8386, allocations: 101.5 kB / 475.8 MB, free: 14.42 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.0004364/0.839, allocations: 197.3 kB / 476 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.8395, allocations: 307.7 kB / 476.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8395, allocations: 384 / 476.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.8397, allocations: 176.4 kB / 476.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8408, allocations: 162.7 kB / 476.6 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.8422, allocations: 0.8035 MB / 477.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.8427, allocations: 0.8003 MB / 478.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.8429, allocations: 34.5 kB / 478.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.843, allocations: 23.75 kB / 478.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.843, allocations: 0 / 478.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01335/0.8563, allocations: 5.816 MB / 484.1 MB, free: 12.21 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)