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.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.002513/0.002513, allocations: 85.48 kB / 19.44 MB, free: 344 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.003187/0.003187, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.01284/0.01284, allocations: 1.989 MB / 261.5 MB, free: 11.11 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.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 1.723e-06/1.723e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.765e-05, allocations: 4.703 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.05835/0.05838, allocations: 52.18 MB / 383.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1719/0.2303, allocations: 29.58 MB / 413.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.2308, allocations: 1.438 kB / 413.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.2322, allocations: 0.513 MB / 413.9 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.2378, allocations: 2.267 MB / 416.2 MB, free: 15.98 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.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.1.1/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.006775/0.2445, allocations: 2.999 MB / 419.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2456, allocations: 0.9768 MB / 420.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.2457, allocations: 26.78 kB / 420.2 MB, free: 14.92 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.537/1.783, allocations: 86.73 MB / 0.495 GB, free: 164 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/1.783, allocations: 239.5 kB / 0.4953 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.784, allocations: 43.94 kB / 0.4953 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3485/2.132, allocations: 44.67 MB / 0.5389 GB, free: 5.309 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/2.132, allocations: 105.8 kB / 0.539 GB, free: 5.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005504/2.133, allocations: 237.3 kB / 0.5393 GB, free: 5.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007528/2.14, allocations: 1.909 MB / 0.5411 GB, free: 3.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.14, allocations: 0 / 0.5411 GB, free: 3.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.14, allocations: 0 / 0.5411 GB, free: 3.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/2.14, allocations: 0 / 0.5411 GB, free: 3.73 MB / 426.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.001892/2.142, allocations: 1.194 MB / 0.5423 GB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.142, allocations: 8.031 kB / 0.5423 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/2.145, allocations: 1.034 MB / 0.5433 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/2.145, allocations: 288.5 kB / 0.5436 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/2.145, allocations: 47.44 kB / 0.5436 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/2.145, allocations: 58.88 kB / 0.5437 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/2.147, allocations: 0.8973 MB / 0.5446 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/2.147, allocations: 0 / 0.5446 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/2.147, allocations: 26.56 kB / 0.5446 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/2.147, allocations: 38.23 kB / 0.5446 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/2.148, allocations: 499.8 kB / 0.5451 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/2.152, allocations: 3.67 MB / 0.5487 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/2.153, allocations: 284 kB / 0.5489 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/2.153, allocations: 155.2 kB / 0.5491 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/2.154, allocations: 1.084 MB / 0.5502 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/2.154, allocations: 36.64 kB / 0.5502 GB, free: 12.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.653e-06/2.154, allocations: 7.281 kB / 0.5502 GB, free: 12.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.001543/2.156, allocations: 0.6215 MB / 0.5508 GB, free: 11.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/2.156, allocations: 77.11 kB / 0.5509 GB, free: 11.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/2.156, allocations: 295 kB / 0.5512 GB, free: 11.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/2.156, allocations: 27.58 kB / 0.5512 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/2.157, allocations: 353.6 kB / 0.5515 GB, free: 10.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/2.157, allocations: 261.1 kB / 0.5518 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/2.157, allocations: 123.6 kB / 0.5519 GB, free: 10.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004024/2.158, allocations: 0.5391 MB / 0.5524 GB, free: 9.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/2.158, allocations: 113.3 kB / 0.5525 GB, free: 9.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/2.159, allocations: 381.8 kB / 0.5529 GB, free: 9.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/2.159, allocations: 0.5415 MB / 0.5534 GB, free: 8.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.159, allocations: 0 / 0.5534 GB, free: 8.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009846/2.16, allocations: 0.4931 MB / 0.5539 GB, free: 8.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/2.16, allocations: 8 kB / 0.5539 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/2.16, allocations: 4 kB / 0.5539 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/2.161, allocations: 8 kB / 0.5539 GB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/2.161, allocations: 82.42 kB / 0.554 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/2.163, allocations: 1.81 MB / 0.5558 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/2.163, allocations: 63.56 kB / 0.5558 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/2.163, allocations: 20 kB / 0.5558 GB, free: 6.141 MB / 442.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): 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.0005042/2.163, allocations: 238.1 kB / 0.5561 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/2.164, allocations: 31.81 kB / 0.5561 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/2.164, allocations: 38.58 kB / 0.5561 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/2.164, allocations: 0 / 0.5561 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/2.164, allocations: 8 kB / 0.5561 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.164, allocations: 0 / 0.5561 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/2.165, allocations: 455.6 kB / 0.5566 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/2.165, allocations: 7 kB / 0.5566 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/2.165, allocations: 35.98 kB / 0.5566 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.165, allocations: 0 / 0.5566 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/2.165, allocations: 11.98 kB / 0.5566 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/2.166, allocations: 1.794 MB / 0.5584 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.166, allocations: 0 / 0.5584 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/2.167, allocations: 0.6308 MB / 0.559 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/2.167, allocations: 43.7 kB / 0.559 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/2.167, allocations: 8 kB / 0.559 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/2.167, allocations: 0 / 0.559 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/2.167, allocations: 19.97 kB / 0.5591 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/2.167, allocations: 8 kB / 0.5591 GB, free: 2.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001408/2.167, allocations: 167.2 kB / 0.5592 GB, free: 2.562 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/2.167, allocations: 0 / 0.5592 GB, free: 2.562 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007172/2.168, allocations: 203.5 kB / 0.5594 GB, free: 2.363 MB / 442.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): 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.0007987/2.169, allocations: 299.6 kB / 0.5597 GB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/2.17, allocations: 0.6114 MB / 0.5603 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/2.17, allocations: 4 kB / 0.5603 GB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006853/2.171, allocations: 0.5001 MB / 0.5608 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/2.172, allocations: 207.7 kB / 0.561 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1186/2.291, allocations: 1.047 MB / 0.562 GB, free: 199.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/2.291, allocations: 352.6 kB / 0.5624 GB, free: 199.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004744/2.291, allocations: 220.3 kB / 0.5626 GB, free: 199.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/2.291, allocations: 45.47 kB / 0.5626 GB, free: 199.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.164e-06/2.291, allocations: 0 / 0.5626 GB, free: 199.6 MB / 442.7 MB Notification: Performance of Templates: time 0.01677/2.308, allocations: 11.18 MB / 0.5735 GB, free: 194.3 MB / 442.7 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.205832056002691]