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.001307/0.001307, allocations: 108 kB / 16.41 MB, free: 6.504 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.001397/0.001397, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01128/0.01128, allocations: 2.778 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09003, allocations: 50.23 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02003/0.1101, allocations: 19.13 MB / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.1156, allocations: 6.068 MB / 482 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.1159, allocations: 8 kB / 482 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.1166, allocations: 258.5 kB / 482.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1195, allocations: 1.214 MB / 483.5 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1198, allocations: 83.36 kB / 483.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1202, allocations: 305.8 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.663e-05/0.1203, allocations: 20.75 kB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.1204, allocations: 91.59 kB / 484 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1206, allocations: 115.4 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1206, allocations: 8 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4591/0.5797, allocations: 38.45 MB / 0.5103 GB, free: 35.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.5798, allocations: 31.05 kB / 0.5103 GB, free: 35.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.58, allocations: 133.3 kB / 0.5105 GB, free: 35.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.5822, allocations: 0.5048 MB / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5822, allocations: 7.438 kB / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5822, allocations: 1.062 kB / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.5822, allocations: 0 / 0.511 GB, free: 35.36 MB / 382.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.000784/0.583, allocations: 0.5562 MB / 0.5115 GB, free: 34.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5831, allocations: 9.812 kB / 0.5115 GB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.584, allocations: 204.8 kB / 0.5117 GB, free: 34.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5841, allocations: 189.6 kB / 0.5119 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.5842, allocations: 18.75 kB / 0.5119 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.5842, allocations: 22.83 kB / 0.5119 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.5847, allocations: 346.5 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5848, allocations: 0 / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.5848, allocations: 9.594 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.5848, allocations: 11.44 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.5852, allocations: 262.2 kB / 0.5125 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.5867, allocations: 2.121 MB / 0.5146 GB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5869, allocations: 134.9 kB / 0.5147 GB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.587, allocations: 110.3 kB / 0.5149 GB, free: 32.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.5876, allocations: 0.6849 MB / 0.5155 GB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5876, allocations: 42.02 kB / 0.5156 GB, free: 31.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.5876, allocations: 4 kB / 0.5156 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003985/0.588, allocations: 184.2 kB / 0.5157 GB, free: 31.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.5881, allocations: 77.81 kB / 0.5158 GB, free: 31.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.5881, allocations: 103.2 kB / 0.5159 GB, free: 31.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.5882, allocations: 25.7 kB / 0.5159 GB, free: 31.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.5882, allocations: 162.5 kB / 0.5161 GB, free: 31.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.5883, allocations: 106.1 kB / 0.5162 GB, free: 31.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.5884, allocations: 34.72 kB / 0.5162 GB, free: 31.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.5884, allocations: 327.8 kB / 0.5165 GB, free: 31.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.5885, allocations: 36.59 kB / 0.5166 GB, free: 31.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.5886, allocations: 85.69 kB / 0.5167 GB, free: 31.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.5888, allocations: 149.7 kB / 0.5168 GB, free: 31.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.5888, allocations: 1.031 kB / 0.5168 GB, free: 31.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002885/0.5891, allocations: 161.5 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5891, allocations: 6.203 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5891, allocations: 1.562 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5892, allocations: 5.969 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.5893, allocations: 11.44 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5893, allocations: 9.359 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.5894, allocations: 20.03 kB / 0.517 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5894, allocations: 4.438 kB / 0.517 GB, free: 31.01 MB / 382.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.77e-05/0.5895, allocations: 128.1 kB / 0.5171 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.5895, allocations: 11.81 kB / 0.5171 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.5896, allocations: 13.17 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5896, allocations: 1.641 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5896, allocations: 0.625 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5896, allocations: 6.125 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.59, allocations: 277.4 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.59, allocations: 0.5312 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.59, allocations: 7.547 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.59, allocations: 0.5625 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.59, allocations: 2.969 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.59, allocations: 0.5 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.59, allocations: 1.031 kB / 0.5174 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.5919, allocations: 318.6 kB / 0.5177 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.5919, allocations: 94.31 kB / 0.5178 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.592, allocations: 2.172 kB / 0.5178 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5921, allocations: 1.688 kB / 0.5178 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.5921, allocations: 9.641 kB / 0.5178 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.5921, allocations: 4.078 kB / 0.5179 GB, free: 30.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.5921, allocations: 78.72 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5921, allocations: 1.781 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005238/0.5927, allocations: 89.47 kB / 0.518 GB, free: 30.26 MB / 382.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.0003807/0.5931, allocations: 194.6 kB / 0.5182 GB, free: 30.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.5934, allocations: 226.6 kB / 0.5184 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5934, allocations: 0 / 0.5184 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5935, allocations: 205.9 kB / 0.5186 GB, free: 29.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.5942, allocations: 80.98 kB / 0.5187 GB, free: 29.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.5951, allocations: 0.5538 MB / 0.5192 GB, free: 29.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.5953, allocations: 0.7956 MB / 0.52 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.5954, allocations: 27.53 kB / 0.52 GB, free: 28.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5954, allocations: 0 / 0.52 GB, free: 28.91 MB / 382.1 MB Notification: Performance of Templates: time 0.008076/0.6035, allocations: 3.675 MB / 0.5236 GB, free: 28.46 MB / 382.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)