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.001405/0.001405, allocations: 92.72 kB / 19.44 MB, free: 468 kB / 13.93 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.001581/0.001581, allocations: 161.7 kB / 22.75 MB, free: 1.801 MB / 18.57 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 178] 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.01255/0.01255, allocations: 1.989 MB / 261.5 MB, free: 11.07 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.462e-06/1.462e-06, allocations: 0 / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.268e-05, allocations: 4.703 kB / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.04985/0.04988, allocations: 45.16 MB / 376.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03194/0.08182, allocations: 25.13 MB / 401.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.08231, allocations: 3.938 kB / 401.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.08403, allocations: 0.5122 MB / 402.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.09045, allocations: 2.268 MB / 404.7 MB, free: 7.906 MB / 330.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.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.09927, allocations: 2.99 MB / 407.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.1009, allocations: 0.978 MB / 408.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.101, allocations: 29.95 kB / 408.7 MB, free: 3.875 MB / 330.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 1.563/1.664, allocations: 86.72 MB / 495.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/1.664, allocations: 242.8 kB / 495.7 MB, free: 1.848 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.665, allocations: 40 kB / 495.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2743/1.939, allocations: 44.68 MB / 0.5277 GB, free: 7.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/1.939, allocations: 116.8 kB / 0.5278 GB, free: 7.523 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004705/1.94, allocations: 227.4 kB / 0.528 GB, free: 7.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005145/1.945, allocations: 1.909 MB / 0.5299 GB, free: 6.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.945, allocations: 0 / 0.5299 GB, free: 6.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/1.945, allocations: 0.6562 kB / 0.5299 GB, free: 6.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/1.945, allocations: 0 / 0.5299 GB, free: 6.172 MB / 410.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.001807/1.947, allocations: 1.037 MB / 0.5309 GB, free: 5.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.947, allocations: 12.03 kB / 0.5309 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/1.949, allocations: 1.041 MB / 0.5319 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/1.95, allocations: 276.9 kB / 0.5322 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/1.95, allocations: 44.19 kB / 0.5322 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/1.95, allocations: 59.06 kB / 0.5323 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/1.952, allocations: 0.9874 MB / 0.5333 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.952, allocations: 3.188 kB / 0.5333 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.952, allocations: 29.66 kB / 0.5333 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/1.952, allocations: 35.28 kB / 0.5333 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.953, allocations: 0.7083 MB / 0.534 GB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/1.957, allocations: 2.699 MB / 0.5367 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/1.957, allocations: 263.3 kB / 0.5369 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/1.958, allocations: 154.3 kB / 0.5371 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.959, allocations: 0.8772 MB / 0.5379 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.959, allocations: 38.38 kB / 0.538 GB, free: 15.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=71): time 4.348e-06/1.959, allocations: 4 kB / 0.538 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.001632/1.96, allocations: 0.6138 MB / 0.5386 GB, free: 15.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/1.96, allocations: 84.48 kB / 0.5386 GB, free: 15.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/1.961, allocations: 196.9 kB / 0.5388 GB, free: 15.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.961, allocations: 34.23 kB / 0.5389 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/1.961, allocations: 288.2 kB / 0.5391 GB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/1.961, allocations: 240.4 kB / 0.5394 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.961, allocations: 96.27 kB / 0.5395 GB, free: 14.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/1.961, allocations: 342.1 kB / 0.5398 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/1.962, allocations: 118.7 kB / 0.5399 GB, free: 14.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/1.962, allocations: 303.2 kB / 0.5402 GB, free: 13.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/1.963, allocations: 480.6 kB / 0.5406 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.963, allocations: 0 / 0.5406 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008453/1.964, allocations: 0.4997 MB / 0.5411 GB, free: 13.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.964, allocations: 8 kB / 0.5411 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.964, allocations: 11.19 kB / 0.5411 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.964, allocations: 8 kB / 0.5412 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/1.964, allocations: 74.28 kB / 0.5412 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.964, allocations: 12.64 kB / 0.5412 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/1.964, allocations: 63.92 kB / 0.5413 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.964, allocations: 19.81 kB / 0.5413 GB, free: 12.89 MB / 426.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,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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 0.0002364/1.965, allocations: 190.6 kB / 0.5415 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/1.965, allocations: 31.81 kB / 0.5415 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/1.965, allocations: 29.95 kB / 0.5416 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.965, allocations: 4.875 kB / 0.5416 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.965, allocations: 0 / 0.5416 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.965, allocations: 3.938 kB / 0.5416 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/1.965, allocations: 344.4 kB / 0.5419 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.965, allocations: 6.625 kB / 0.5419 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/1.966, allocations: 26.42 kB / 0.5419 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.966, allocations: 4 kB / 0.5419 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.966, allocations: 5.625 kB / 0.5419 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.966, allocations: 0.6562 kB / 0.5419 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.966, allocations: 0 / 0.5419 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/1.966, allocations: 0.5135 MB / 0.5424 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/1.966, allocations: 39.62 kB / 0.5425 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/1.966, allocations: 4.172 kB / 0.5425 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.967, allocations: 13.73 kB / 0.5425 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/1.967, allocations: 14.23 kB / 0.5425 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/1.967, allocations: 13.36 kB / 0.5425 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001184/1.967, allocations: 124 kB / 0.5426 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/1.967, allocations: 4.125 kB / 0.5426 GB, free: 11.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007096/1.967, allocations: 198.4 kB / 0.5428 GB, free: 11.59 MB / 426.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.0006909/1.968, allocations: 301.4 kB / 0.5431 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008628/1.969, allocations: 0.5674 MB / 0.5437 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.969, allocations: 0 / 0.5437 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/1.97, allocations: 451.6 kB / 0.5441 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/1.971, allocations: 191.7 kB / 0.5443 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/1.972, allocations: 1.017 MB / 0.5453 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/1.973, allocations: 353.3 kB / 0.5456 GB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005535/1.973, allocations: 252.8 kB / 0.5459 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.974, allocations: 52.42 kB / 0.5459 GB, free: 8.625 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/1.974, allocations: 0 / 0.5459 GB, free: 8.625 MB / 426.7 MB Notification: Performance of Templates: time 0.1241/2.098, allocations: 10.73 MB / 0.5564 GB, free: 183 MB / 426.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.7109114800114185]