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.001368/0.001368, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001507/0.001507, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.73 MB / 206.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.01368/0.01368, allocations: 2.814 MB / 315.2 MB, free: 52 kB / 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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.88 kB / 439.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09708, allocations: 54.18 MB / 493.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2529/0.35, allocations: 45.38 MB / 0.5261 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02942/0.3794, allocations: 25.15 MB / 0.5506 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.38, allocations: 2.969 kB / 0.5506 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3817, allocations: 0.494 MB / 0.5511 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.3886, allocations: 2.19 MB / 0.5533 GB, free: 10.67 MB / 398.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.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.0.0/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.009317/0.398, allocations: 2.893 MB / 0.5561 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.3994, allocations: 0.9305 MB / 0.557 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3995, allocations: 23.97 kB / 0.557 GB, free: 7.773 MB / 398.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.73/1.13, allocations: 52 MB / 0.6078 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/1.13, allocations: 278.6 kB / 0.6081 GB, free: 5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/1.13, allocations: 40 kB / 0.6081 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2346/1.365, allocations: 27.4 MB / 0.6349 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/1.365, allocations: 99.55 kB / 0.635 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008144/1.366, allocations: 282.8 kB / 0.6352 GB, free: 9.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00851/1.375, allocations: 1.862 MB / 0.637 GB, free: 7.145 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.375, allocations: 0 / 0.637 GB, free: 7.145 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/1.375, allocations: 0 / 0.637 GB, free: 7.145 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/1.375, allocations: 0 / 0.637 GB, free: 7.145 MB / 478.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.001822/1.376, allocations: 1.049 MB / 0.6381 GB, free: 6.062 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.376, allocations: 8.031 kB / 0.6381 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/1.379, allocations: 0.4961 MB / 0.6386 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006368/1.385, allocations: 273.8 kB / 0.6388 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/1.385, allocations: 46.06 kB / 0.6389 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/1.385, allocations: 52 kB / 0.6389 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.387, allocations: 0.9886 MB / 0.6399 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.387, allocations: 0 / 0.6399 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/1.387, allocations: 32 kB / 0.6399 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/1.387, allocations: 35.97 kB / 0.6399 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.389, allocations: 0.7122 MB / 0.6406 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/1.392, allocations: 2.69 MB / 0.6433 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/1.393, allocations: 269 kB / 0.6435 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/1.393, allocations: 149.7 kB / 0.6437 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.394, allocations: 0.8766 MB / 0.6445 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.394, allocations: 42.56 kB / 0.6446 GB, free: 15.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.545e-06/1.394, allocations: 0 / 0.6446 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001709/1.396, allocations: 0.6012 MB / 0.6451 GB, free: 14.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.396, allocations: 77.11 kB / 0.6452 GB, free: 14.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/1.396, allocations: 194.5 kB / 0.6454 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.396, allocations: 25.7 kB / 0.6454 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/1.397, allocations: 300.3 kB / 0.6457 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.397, allocations: 237.8 kB / 0.6459 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/1.397, allocations: 93.97 kB / 0.646 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/1.397, allocations: 346.8 kB / 0.6464 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.397, allocations: 121.3 kB / 0.6465 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/1.398, allocations: 303.9 kB / 0.6468 GB, free: 12.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/1.399, allocations: 476.9 kB / 0.6472 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.399, allocations: 4 kB / 0.6472 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008781/1.399, allocations: 484.3 kB / 0.6477 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.4, allocations: 11.94 kB / 0.6477 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.4, allocations: 8 kB / 0.6477 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/1.4, allocations: 7.938 kB / 0.6477 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.4, allocations: 80.47 kB / 0.6478 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.4, allocations: 8 kB / 0.6478 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/1.4, allocations: 63.5 kB / 0.6479 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/1.4, allocations: 20 kB / 0.6479 GB, free: 11.55 MB / 494.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): 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.0002862/1.4, allocations: 197.6 kB / 0.6481 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/1.4, allocations: 27.81 kB / 0.6481 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/1.401, allocations: 30.64 kB / 0.6481 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.401, allocations: 3.938 kB / 0.6481 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.401, allocations: 0 / 0.6481 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.401, allocations: 0 / 0.6481 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/1.401, allocations: 344.6 kB / 0.6485 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.401, allocations: 4 kB / 0.6485 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.401, allocations: 31.98 kB / 0.6485 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.401, allocations: 0 / 0.6485 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.401, allocations: 4 kB / 0.6485 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.401, allocations: 192 / 0.6485 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.401, allocations: 11.88 kB / 0.6485 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/1.402, allocations: 0.5061 MB / 0.649 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/1.402, allocations: 39.62 kB / 0.649 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/1.402, allocations: 4 kB / 0.649 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/1.402, allocations: 19.97 kB / 0.6491 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/1.402, allocations: 15.92 kB / 0.6491 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/1.402, allocations: 8 kB / 0.6491 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001141/1.403, allocations: 123.2 kB / 0.6492 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.403, allocations: 0 / 0.6492 GB, free: 10.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007773/1.403, allocations: 195.5 kB / 0.6494 GB, free: 9.945 MB / 494.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): 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.0007185/1.404, allocations: 316.8 kB / 0.6497 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/1.405, allocations: 0.5442 MB / 0.6502 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.405, allocations: 4.875 kB / 0.6502 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/1.406, allocations: 459.7 kB / 0.6507 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.407, allocations: 187.5 kB / 0.6508 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.409, allocations: 1.048 MB / 0.6519 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/1.409, allocations: 356.6 kB / 0.6522 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005977/1.41, allocations: 257.9 kB / 0.6525 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.41, allocations: 43.44 kB / 0.6525 GB, free: 6.598 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.41, allocations: 0 / 0.6525 GB, free: 6.598 MB / 494.1 MB Notification: Performance of Templates: time 0.02498/1.435, allocations: 11.94 MB / 0.6642 GB, free: 10.65 MB / 0.4981 GB " [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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.718959763646126] Failed to read output from testmodel.py, exit status != 0: 1.4431692156940699 1.462075171 0.083820327 Calling exit ...