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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008906/0.008906, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1111/0.1111, allocations: 2.783 MB / 294.2 MB, free: 4.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 8 kB / 356.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08676, allocations: 51.25 MB / 407.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.007924/0.09471, allocations: 8.588 MB / 416.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.2686, allocations: 8.391 MB / 424.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.2688, allocations: 4.328 kB / 424.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.2693, allocations: 151.7 kB / 424.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.2697, allocations: 90.84 kB / 424.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.2733, allocations: 1.351 MB / 426.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2737, allocations: 304.8 kB / 426.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.2738, allocations: 15.28 kB / 426.5 MB, free: 34.2 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.3888/0.6626, allocations: 11.83 MB / 438.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.6628, allocations: 91.77 kB / 438.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.6629, allocations: 6.562 kB / 438.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.6646, allocations: 0.4979 MB / 438.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.6647, allocations: 31.44 kB / 438.9 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.6648, allocations: 103.5 kB / 439 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.6656, allocations: 0.4992 MB / 439.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6656, allocations: 2.938 kB / 439.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6657, allocations: 0 / 439.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.6657, allocations: 0 / 439.5 MB, free: 30.39 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.0006695/0.6663, allocations: 0.5301 MB / 440 MB, free: 29.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6664, allocations: 9.875 kB / 440.1 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.6664, allocations: 50.67 kB / 440.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.6667, allocations: 64.95 kB / 440.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.6669, allocations: 207.9 kB / 440.4 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.6669, allocations: 14.03 kB / 440.4 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.667, allocations: 13.53 kB / 440.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.6674, allocations: 248 kB / 440.6 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6674, allocations: 0 / 440.6 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.6675, allocations: 9.781 kB / 440.6 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.6675, allocations: 10.64 kB / 440.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.6679, allocations: 207.1 kB / 440.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.6686, allocations: 0.6808 MB / 441.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.6691, allocations: 230.2 kB / 441.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.6693, allocations: 158.2 kB / 441.9 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.6695, allocations: 337.5 kB / 442.3 MB, free: 28.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.6695, allocations: 30.56 kB / 442.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.6695, allocations: 0 / 442.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002365/0.6719, allocations: 1.236 MB / 443.5 MB, free: 28.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.6719, allocations: 54.62 kB / 443.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.672, allocations: 138.6 kB / 443.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.672, allocations: 25.7 kB / 443.7 MB, free: 28.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.672, allocations: 116.2 kB / 443.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.6721, allocations: 149.9 kB / 444 MB, free: 28.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.6721, allocations: 40.55 kB / 444 MB, free: 28.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.6722, allocations: 335.3 kB / 444.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.6724, allocations: 130.1 kB / 444.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.6727, allocations: 193.8 kB / 444.7 MB, free: 27.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.6732, allocations: 349.4 kB / 445 MB, free: 27.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6732, allocations: 0 / 445 MB, free: 27.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009784/0.6742, allocations: 0.4884 MB / 445.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6742, allocations: 3.156 kB / 445.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6742, allocations: 3.188 kB / 445.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000713/0.6749, allocations: 148.5 kB / 445.7 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6751, allocations: 42.27 kB / 445.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/0.6755, allocations: 0.6539 MB / 446.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.6757, allocations: 10.47 kB / 446.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.6757, allocations: 17.25 kB / 446.4 MB, free: 26.96 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.phaseOutput,medium.state.phase,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.6758, allocations: 134.3 kB / 446.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.6758, allocations: 22.19 kB / 446.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.6767, allocations: 0.7198 MB / 447.2 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.6767, allocations: 10.44 kB / 447.3 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6767, allocations: 0 / 447.3 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6767, allocations: 3.375 kB / 447.3 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.677, allocations: 385.5 kB / 447.6 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6771, allocations: 3.938 kB / 447.6 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.6772, allocations: 37.23 kB / 447.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.6775, allocations: 96.36 kB / 447.8 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6775, allocations: 6.656 kB / 447.8 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/0.6782, allocations: 1.312 MB / 449.1 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6782, allocations: 0 / 449.1 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.6792, allocations: 0.8404 MB / 449.9 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.6792, allocations: 87.98 kB / 450 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.6792, allocations: 13.47 kB / 450 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6794, allocations: 13.97 kB / 450 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6795, allocations: 28 kB / 450.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6795, allocations: 3.062 kB / 450.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.738e-05/0.6795, allocations: 103 kB / 450.2 MB, free: 24.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6795, allocations: 0 / 450.2 MB, free: 24.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.6798, allocations: 61.61 kB / 450.2 MB, free: 24.89 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.681, allocations: 1.252 MB / 451.5 MB, free: 24.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.6817, allocations: 371.8 kB / 451.9 MB, free: 24.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6817, allocations: 0 / 451.9 MB, free: 24.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.6821, allocations: 301.6 kB / 452.1 MB, free: 24.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.6827, allocations: 98.53 kB / 452.2 MB, free: 24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.6862, allocations: 3.088 MB / 455.3 MB, free: 22.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.6863, allocations: 0.7441 MB / 456.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.6865, allocations: 38.56 kB / 456.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.6865, allocations: 54.48 kB / 456.2 MB, free: 21.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6866, allocations: 0 / 456.2 MB, free: 21.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.7043, allocations: 7.059 MB / 463.2 MB, free: 20.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.7045, allocations: 295.7 kB / 463.5 MB, free: 20.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.556, allocations: 0 / 463.5 MB, free: 20.52 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)