Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009441, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001103/0.001103, allocations: 168.7 kB / 15.95 MB, free: 204 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1327/0.1327, allocations: 2.78 MB / 293.9 MB, free: 4.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 8 kB / 355.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 51.24 MB / 406.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009565/0.1147, allocations: 8.18 MB / 415.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006412/0.1212, allocations: 7.89 MB / 422.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1213, allocations: 3.938 kB / 422.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.1218, allocations: 143.2 kB / 423.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1221, allocations: 87.41 kB / 423.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.217/0.3392, allocations: 1.268 MB / 424.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.3398, allocations: 271.5 kB / 424.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.3398, allocations: 13.75 kB / 424.7 MB, free: 35.75 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.2578/0.5976, allocations: 10.94 MB / 435.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.598, allocations: 88.89 kB / 435.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.598, allocations: 3.375 kB / 435.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6008, allocations: 491.9 kB / 436.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.6009, allocations: 29.06 kB / 436.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.601, allocations: 59.89 kB / 436.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.602, allocations: 375.6 kB / 436.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.602, allocations: 3.156 kB / 436.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.602, allocations: 0 / 436.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.6021, allocations: 0 / 436.7 MB, free: 35.12 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008645/0.6029, allocations: 0.5363 MB / 437.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.603, allocations: 9.812 kB / 437.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.6034, allocations: 54.66 kB / 437.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.6036, allocations: 204.3 kB / 437.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.6036, allocations: 10.62 kB / 437.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.6037, allocations: 12.41 kB / 437.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.6042, allocations: 241.4 kB / 437.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6042, allocations: 1.969 kB / 437.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.6042, allocations: 5.844 kB / 437.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.6043, allocations: 10.19 kB / 437.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.6047, allocations: 214.8 kB / 438 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.6056, allocations: 0.6846 MB / 438.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.6061, allocations: 233.4 kB / 438.9 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.6063, allocations: 158.5 kB / 439 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.6066, allocations: 333 kB / 439.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6066, allocations: 33.44 kB / 439.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.6066, allocations: 0 / 439.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002691/0.6093, allocations: 1.23 MB / 440.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6094, allocations: 57.34 kB / 440.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6095, allocations: 134.5 kB / 440.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.6095, allocations: 29.64 kB / 440.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.6096, allocations: 107.3 kB / 440.9 MB, free: 32.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/0.6097, allocations: 166.3 kB / 441.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6097, allocations: 3.938 kB / 441.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.6098, allocations: 335.2 kB / 441.4 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.61, allocations: 125.8 kB / 441.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.6102, allocations: 200.5 kB / 441.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6105, allocations: 157.2 kB / 441.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6105, allocations: 2.344 kB / 441.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001055/0.6115, allocations: 476.3 kB / 442.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.6116, allocations: 12.67 kB / 442.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6116, allocations: 0 / 442.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.6123, allocations: 153.1 kB / 442.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6125, allocations: 32.2 kB / 442.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006177/0.6131, allocations: 0.654 MB / 443.2 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.6133, allocations: 16.95 kB / 443.2 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.6133, allocations: 9.781 kB / 443.3 MB, free: 31.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.state.phase,medium.phaseOutput,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.6135, allocations: 134.4 kB / 443.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.6135, allocations: 17.41 kB / 443.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.6147, allocations: 0.7203 MB / 444.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.6147, allocations: 11.77 kB / 444.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.6147, allocations: 4 kB / 444.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6147, allocations: 3.953 kB / 444.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.6152, allocations: 384.3 kB / 444.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6152, allocations: 3.125 kB / 444.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6154, allocations: 46.53 kB / 444.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.6157, allocations: 85 kB / 444.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.6157, allocations: 9.672 kB / 444.7 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009671/0.6167, allocations: 1.308 MB / 446 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6167, allocations: 0 / 446 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.6178, allocations: 0.8416 MB / 446.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.6179, allocations: 100 kB / 446.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6179, allocations: 7.094 kB / 446.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.618, allocations: 14.44 kB / 446.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.6181, allocations: 19.73 kB / 446.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.6181, allocations: 6.5 kB / 446.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5e-05/0.6182, allocations: 91.86 kB / 447 MB, free: 29.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6182, allocations: 0 / 447 MB, free: 29.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.6185, allocations: 63.84 kB / 447.1 MB, free: 29.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/0.619, allocations: 181 kB / 447.3 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008271/0.6198, allocations: 372 kB / 447.6 MB, free: 29.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6198, allocations: 0 / 447.6 MB, free: 29.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.6203, allocations: 301.1 kB / 447.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.6209, allocations: 98.28 kB / 448 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.6224, allocations: 0.8135 MB / 448.8 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.6227, allocations: 0.732 MB / 449.6 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.6229, allocations: 38.53 kB / 449.6 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.6229, allocations: 20.45 kB / 449.6 MB, free: 28.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6229, allocations: 4 kB / 449.6 MB, free: 28.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009878/0.6328, allocations: 4.552 MB / 454.2 MB, free: 28.14 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) Environment - environmentSimulation: