Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01227/0.01227, allocations: 2.799 MB / 307.3 MB, free: 3.34 MB / 238.1 MB " [Timeout remaining time 180] 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 428.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2864, allocations: 52.96 MB / 481.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.05397/0.3404, allocations: 51.25 MB / 0.5201 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03074/0.3711, allocations: 29.19 MB / 0.5486 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.3718, allocations: 4 kB / 0.5486 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.3739, allocations: 0.6291 MB / 0.5492 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.3821, allocations: 2.25 MB / 0.5514 GB, free: 9.227 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.3924, allocations: 2.93 MB / 0.5542 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3941, allocations: 0.9287 MB / 0.5552 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3943, allocations: 25.78 kB / 0.5552 GB, free: 5.316 MB / 414.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.7156/1.11, allocations: 51.87 MB / 0.6058 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006248/1.11, allocations: 306.7 kB / 0.6061 GB, free: 2.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.111, allocations: 40 kB / 0.6062 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4382/1.549, allocations: 27.33 MB / 0.6329 GB, free: 51.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/1.549, allocations: 114.4 kB / 0.633 GB, free: 51.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007892/1.55, allocations: 341.2 kB / 0.6333 GB, free: 51.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007677/1.557, allocations: 1.867 MB / 0.6351 GB, free: 51.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.557, allocations: 0 / 0.6351 GB, free: 51.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.557, allocations: 0 / 0.6351 GB, free: 51.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.588e-05/1.557, allocations: 1.594 kB / 0.6351 GB, free: 51.3 MB / 462.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.002169/1.56, allocations: 1.122 MB / 0.6362 GB, free: 50.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.56, allocations: 14.69 kB / 0.6362 GB, free: 50.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/1.562, allocations: 0.4978 MB / 0.6367 GB, free: 50.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/1.566, allocations: 339.9 kB / 0.637 GB, free: 50.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/1.566, allocations: 47.31 kB / 0.6371 GB, free: 50.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/1.566, allocations: 56.58 kB / 0.6371 GB, free: 50.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.568, allocations: 0.8714 MB / 0.638 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/1.568, allocations: 7.938 kB / 0.638 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/1.568, allocations: 25.84 kB / 0.638 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/1.568, allocations: 29.28 kB / 0.638 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.57, allocations: 0.7027 MB / 0.6387 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/1.573, allocations: 5.122 MB / 0.6437 GB, free: 46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/1.573, allocations: 269.5 kB / 0.644 GB, free: 45.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.574, allocations: 169 kB / 0.6441 GB, free: 45.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.575, allocations: 1.539 MB / 0.6457 GB, free: 44.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/1.575, allocations: 45.98 kB / 0.6457 GB, free: 44.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.844e-06/1.575, allocations: 4.5 kB / 0.6457 GB, free: 44.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.0013/1.576, allocations: 0.5995 MB / 0.6463 GB, free: 44.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/1.576, allocations: 77.11 kB / 0.6464 GB, free: 44.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.576, allocations: 186.3 kB / 0.6465 GB, free: 44.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.576, allocations: 33.52 kB / 0.6466 GB, free: 44.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/1.576, allocations: 298.9 kB / 0.6469 GB, free: 44.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/1.576, allocations: 244.4 kB / 0.6471 GB, free: 43.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.576, allocations: 99 kB / 0.6472 GB, free: 43.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/1.576, allocations: 341.4 kB / 0.6475 GB, free: 43.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.577, allocations: 118 kB / 0.6476 GB, free: 43.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/1.577, allocations: 306 kB / 0.6479 GB, free: 43.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/1.577, allocations: 488.5 kB / 0.6484 GB, free: 43.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.577, allocations: 3.656 kB / 0.6484 GB, free: 43.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000607/1.578, allocations: 488 kB / 0.6488 GB, free: 43.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.578, allocations: 6.469 kB / 0.6489 GB, free: 43.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.578, allocations: 9.25 kB / 0.6489 GB, free: 43.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.578, allocations: 7.375 kB / 0.6489 GB, free: 43.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/1.578, allocations: 83.52 kB / 0.6489 GB, free: 43.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003342/1.579, allocations: 1.183 MB / 0.6501 GB, free: 41.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/1.579, allocations: 60.48 kB / 0.6502 GB, free: 41.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/1.579, allocations: 21.62 kB / 0.6502 GB, free: 41.93 MB / 462.1 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.579, allocations: 195.8 kB / 0.6504 GB, free: 41.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/1.579, allocations: 27.25 kB / 0.6504 GB, free: 41.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/1.579, allocations: 30.72 kB / 0.6504 GB, free: 41.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.579, allocations: 3.375 kB / 0.6504 GB, free: 41.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.579, allocations: 4.625 kB / 0.6504 GB, free: 41.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.579, allocations: 0.8438 kB / 0.6504 GB, free: 41.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/1.58, allocations: 0.4964 MB / 0.6509 GB, free: 41.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.58, allocations: 0 / 0.6509 GB, free: 41.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.58, allocations: 41.86 kB / 0.651 GB, free: 41.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.58, allocations: 4 kB / 0.651 GB, free: 41.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/1.58, allocations: 6.25 kB / 0.651 GB, free: 41.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003025/1.58, allocations: 1.171 MB / 0.6521 GB, free: 40.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.58, allocations: 0.8906 kB / 0.6521 GB, free: 40.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/1.581, allocations: 0.5162 MB / 0.6526 GB, free: 40.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/1.581, allocations: 115.5 kB / 0.6527 GB, free: 40.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/1.581, allocations: 0 / 0.6527 GB, free: 40.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.581, allocations: 12.5 kB / 0.6527 GB, free: 40.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/1.581, allocations: 18.66 kB / 0.6528 GB, free: 40.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/1.581, allocations: 11.67 kB / 0.6528 GB, free: 40.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.099e-05/1.581, allocations: 126.2 kB / 0.6529 GB, free: 39.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/1.581, allocations: 0 / 0.6529 GB, free: 39.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006815/1.582, allocations: 202.5 kB / 0.6531 GB, free: 39.9 MB / 462.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: 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005879/1.582, allocations: 303 kB / 0.6534 GB, free: 39.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008188/1.583, allocations: 0.5675 MB / 0.6539 GB, free: 39.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.583, allocations: 0.5625 kB / 0.6539 GB, free: 39.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/1.584, allocations: 482.7 kB / 0.6544 GB, free: 39.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/1.585, allocations: 191.8 kB / 0.6546 GB, free: 39.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.586, allocations: 1.068 MB / 0.6556 GB, free: 38.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/1.586, allocations: 0.948 MB / 0.6565 GB, free: 37.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/1.587, allocations: 213.3 kB / 0.6567 GB, free: 37.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/1.587, allocations: 50.62 kB / 0.6568 GB, free: 37.34 MB / 462.1 MB Notification: Performance of SimCode: time 4e-07/1.587, allocations: 0 / 0.6568 GB, free: 37.34 MB / 462.1 MB Notification: Performance of Templates: time 0.01681/1.604, allocations: 11.85 MB / 0.6684 GB, free: 25.66 MB / 462.1 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.6744844894856215]