Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001853/0.001853, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1837/0.1837, allocations: 2.779 MB / 293.9 MB, free: 4.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 355.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 51.25 MB / 406.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2505/0.3792, allocations: 46.58 MB / 453.5 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.3953, allocations: 26.72 MB / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.396, allocations: 6.906 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.3975, allocations: 0.5393 MB / 480.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.4033, allocations: 1.944 MB / 482.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007476/0.4108, allocations: 2.518 MB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.4121, allocations: 0.8619 MB / 486 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4122, allocations: 62.19 kB / 486.1 MB, free: 1.508 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function ‘ExternalMedia.Common.CheckCoolPropOptions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFEvalConstants.evaluate: time 0.2818/0.694, allocations: 43.49 MB / 0.5172 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.6948, allocations: 282.8 kB / 0.5175 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.6949, allocations: 20 kB / 0.5175 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04227/0.7372, allocations: 23.24 MB / 0.5402 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.7375, allocations: 87.53 kB / 0.5403 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.7379, allocations: 157.4 kB / 0.5404 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.7418, allocations: 1.344 MB / 0.5417 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7419, allocations: 8 kB / 0.5417 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7419, allocations: 0 / 0.5417 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.7419, allocations: 0 / 0.5417 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001898/0.7438, allocations: 0.9906 MB / 0.5427 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7439, allocations: 8.031 kB / 0.5427 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.7459, allocations: 0.5073 MB / 0.5432 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.7464, allocations: 338.2 kB / 0.5435 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.7465, allocations: 45.31 kB / 0.5436 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.7466, allocations: 52 kB / 0.5436 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7481, allocations: 0.8801 MB / 0.5445 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.7481, allocations: 0 / 0.5445 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.7482, allocations: 28 kB / 0.5445 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.7482, allocations: 31.98 kB / 0.5445 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.7495, allocations: 0.7157 MB / 0.5452 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.7536, allocations: 4.972 MB / 0.5501 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.7543, allocations: 341.1 kB / 0.5504 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.7546, allocations: 225.7 kB / 0.5506 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.756, allocations: 1.543 MB / 0.5521 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7561, allocations: 34.56 kB / 0.5522 GB, free: 1.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 1.823e-06/0.7561, allocations: 0 / 0.5522 GB, free: 1.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.001669/0.7578, allocations: 0.6318 MB / 0.5528 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.7578, allocations: 77.11 kB / 0.5529 GB, free: 1.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.7581, allocations: 171.6 kB / 0.553 GB, free: 1.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.7581, allocations: 25.7 kB / 0.553 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.7583, allocations: 279.6 kB / 0.5533 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.7585, allocations: 244.3 kB / 0.5535 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.7585, allocations: 7.938 kB / 0.5535 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7587, allocations: 342.8 kB / 0.5539 GB, free: 156 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.7589, allocations: 125.3 kB / 0.554 GB, free: 28 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.7593, allocations: 282 kB / 0.5543 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.7597, allocations: 179.4 kB / 0.5544 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7597, allocations: 4 kB / 0.5544 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008314/0.7605, allocations: 464.5 kB / 0.5549 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.7606, allocations: 8.094 kB / 0.5549 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7606, allocations: 8.562 kB / 0.5549 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/0.7606, allocations: 15.95 kB / 0.5549 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.7609, allocations: 71.84 kB / 0.555 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.7609, allocations: 8 kB / 0.555 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.7613, allocations: 79.34 kB / 0.5551 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.7614, allocations: 20 kB / 0.5551 GB, free: 14.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.7616, allocations: 189.6 kB / 0.5553 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.7617, allocations: 31.62 kB / 0.5553 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.7633, allocations: 1.179 MB / 0.5564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001158/0.7645, allocations: 0.9795 MB / 0.5574 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7645, allocations: 7.891 kB / 0.5574 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.7645, allocations: 3.984 kB / 0.5574 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.7674, allocations: 2.33 MB / 0.5597 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7674, allocations: 0 / 0.5597 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.7678, allocations: 115.9 kB / 0.5598 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.7678, allocations: 4 kB / 0.5598 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.7678, allocations: 19.94 kB / 0.5598 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7679, allocations: 4 kB / 0.5598 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7679, allocations: 0 / 0.5598 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.769, allocations: 0.8793 MB / 0.5607 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.7691, allocations: 132.3 kB / 0.5608 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.7692, allocations: 12 kB / 0.5608 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.7696, allocations: 91.48 kB / 0.5609 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.7697, allocations: 51.92 kB / 0.561 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.7697, allocations: 27.98 kB / 0.561 GB, free: 8.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.7698, allocations: 120.1 kB / 0.5611 GB, free: 8.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7698, allocations: 0 / 0.5611 GB, free: 8.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007393/0.7706, allocations: 239.2 kB / 0.5613 GB, free: 8.328 MB / 430.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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/0.7711, allocations: 319.7 kB / 0.5616 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.7722, allocations: 0.7488 MB / 0.5624 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7722, allocations: 0 / 0.5624 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.7728, allocations: 379.3 kB / 0.5627 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.7744, allocations: 334.9 kB / 0.563 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.7768, allocations: 1.644 MB / 0.5647 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.7775, allocations: 0.9534 MB / 0.5656 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000492/0.778, allocations: 136.2 kB / 0.5657 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7781, allocations: 47.44 kB / 0.5658 GB, free: 3.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7781, allocations: 0 / 0.5658 GB, free: 3.75 MB / 430.1 MB Notification: Performance of Templates: time 0.0225/0.8006, allocations: 12.31 MB / 0.5778 GB, free: 7.707 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) Environment - environmentSimulation: