Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002676, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002505, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.976/0.976, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07655/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007312/0.007312, allocations: 1.991 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002028/0.009339, allocations: 1.227 MB / 247.2 MB, free: 11.64 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.973e-05, allocations: 5.688 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.01236/0.01238, allocations: 11.93 MB / 260.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.02413, allocations: 12.16 MB / 272.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.02442, allocations: 4 kB / 272.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.02499, allocations: 226.3 kB / 272.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.02785, allocations: 1.253 MB / 274 MB, free: 0.6836 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.101/0.1288, allocations: 1.161 MB / 275.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009294/0.1298, allocations: 0.9905 MB / 276.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.1299, allocations: 30.38 kB / 276.2 MB, free: 5.688 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.6742/0.8041, allocations: 22.1 MB / 298.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.8045, allocations: 240.5 kB / 298.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.8045, allocations: 42.84 kB / 298.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.8061, allocations: 0.7143 MB / 299.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.8062, allocations: 81.88 kB / 299.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.8064, allocations: 200.3 kB / 299.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.8076, allocations: 0.8974 MB / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.8076, allocations: 0.9844 kB / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8076, allocations: 0 / 300.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.8076, allocations: 0 / 300.5 MB, free: 9.406 MB / 282.7 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.0009288/0.8085, allocations: 1.093 MB / 301.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.8086, allocations: 14.97 kB / 301.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.8099, allocations: 1.046 MB / 302.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.8101, allocations: 204.7 kB / 302.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.8102, allocations: 44.5 kB / 302.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.8102, allocations: 61.81 kB / 302.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.8108, allocations: 0.7034 MB / 303.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8108, allocations: 2.625 kB / 303.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8108, allocations: 25.75 kB / 303.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.8108, allocations: 39.78 kB / 303.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.8111, allocations: 288.6 kB / 304 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.8128, allocations: 2.264 MB / 306.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.813, allocations: 177.1 kB / 306.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.8131, allocations: 76.52 kB / 306.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.8135, allocations: 0.6557 MB / 307.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.8136, allocations: 44.53 kB / 307.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.382e-06/0.8136, allocations: 0 / 307.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.000583/0.8142, allocations: 444.3 kB / 307.6 MB, free: 5.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.8142, allocations: 81.11 kB / 307.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.8143, allocations: 186.8 kB / 307.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.8143, allocations: 28.45 kB / 307.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.8144, allocations: 297.1 kB / 308.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.8145, allocations: 244.9 kB / 308.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.8146, allocations: 90.64 kB / 308.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.8146, allocations: 350.2 kB / 308.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.8147, allocations: 40.89 kB / 308.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.8148, allocations: 229 kB / 309.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.815, allocations: 333.8 kB / 309.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.815, allocations: 0 / 309.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002646/0.8153, allocations: 318.1 kB / 309.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.8153, allocations: 11 kB / 309.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8153, allocations: 4 kB / 309.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.8153, allocations: 8 kB / 309.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.8154, allocations: 79.42 kB / 309.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.8154, allocations: 11.94 kB / 309.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.8156, allocations: 71.22 kB / 310 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.8156, allocations: 15 kB / 310 MB, free: 3.832 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.8157, allocations: 139.8 kB / 310.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.8157, allocations: 17.62 kB / 310.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.8157, allocations: 26.34 kB / 310.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8157, allocations: 3.375 kB / 310.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.8157, allocations: 0 / 310.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8158, allocations: 5.453 kB / 310.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.816, allocations: 229.9 kB / 310.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.816, allocations: 0.6562 kB / 310.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.816, allocations: 32.59 kB / 310.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.8161, allocations: 39.62 kB / 310.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8161, allocations: 0 / 310.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.8161, allocations: 5.422 kB / 310.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8161, allocations: 4 kB / 310.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8161, allocations: 0 / 310.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.8163, allocations: 386.8 kB / 310.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.8163, allocations: 7.938 kB / 310.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.8164, allocations: 5.594 kB / 310.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.8164, allocations: 14.58 kB / 310.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8164, allocations: 4 kB / 310.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.8164, allocations: 47.42 kB / 310.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8164, allocations: 0 / 310.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.8168, allocations: 187.1 kB / 311.1 MB, free: 2.852 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003017/0.8171, allocations: 183 kB / 311.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.8174, allocations: 445.1 kB / 311.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.8174, allocations: 7.938 kB / 311.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.8176, allocations: 419.7 kB / 312.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.8181, allocations: 238 kB / 312.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.8242, allocations: 1.011 MB / 313.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.8243, allocations: 163.8 kB / 313.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.8246, allocations: 209.9 kB / 313.8 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.8248, allocations: 200.7 kB / 314 MB, free: 384 kB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8248, allocations: 3.938 kB / 314 MB, free: 380 kB / 282.7 MB Notification: Performance of Templates: time 0.01174/0.8366, allocations: 10.44 MB / 324.4 MB, free: 6.332 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.044189563021064]