Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.001347/0.001347, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001481/0.001481, allocations: 201.6 kB / 22.17 MB, free: 5.211 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.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.01347/0.01347, allocations: 2.8 MB / 308.9 MB, free: 5.957 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 430.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 52.96 MB / 483.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.3143/0.4261, allocations: 51.19 MB / 0.5221 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0236/0.4497, allocations: 29.21 MB / 0.5506 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.4513, allocations: 2.156 kB / 0.5506 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.4542, allocations: 0.6173 MB / 0.5512 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.4611, allocations: 2.244 MB / 0.5534 GB, free: 0.5 MB / 382.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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.4723, allocations: 2.935 MB / 0.5562 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.4739, allocations: 0.9322 MB / 0.5572 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4741, allocations: 24.91 kB / 0.5572 GB, free: 14.62 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.6994/1.173, allocations: 51.95 MB / 0.6079 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.175, allocations: 310.5 kB / 0.6082 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000193/1.175, allocations: 40 kB / 0.6083 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2245/1.399, allocations: 27.37 MB / 0.635 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/1.399, allocations: 115.5 kB / 0.6351 GB, free: 7.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/1.4, allocations: 338.5 kB / 0.6354 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007823/1.408, allocations: 1.866 MB / 0.6372 GB, free: 5.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.408, allocations: 0 / 0.6372 GB, free: 5.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.408, allocations: 0 / 0.6372 GB, free: 5.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.666e-05/1.408, allocations: 0 / 0.6372 GB, free: 5.438 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.002265/1.41, allocations: 1.123 MB / 0.6383 GB, free: 4.266 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.41, allocations: 8.031 kB / 0.6383 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.412, allocations: 0.5 MB / 0.6388 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/1.416, allocations: 343.5 kB / 0.6392 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/1.416, allocations: 46.06 kB / 0.6392 GB, free: 3.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/1.417, allocations: 56 kB / 0.6393 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.418, allocations: 0.8762 MB / 0.6401 GB, free: 2.363 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.418, allocations: 4 kB / 0.6401 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/1.418, allocations: 24 kB / 0.6401 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/1.418, allocations: 31.98 kB / 0.6402 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.42, allocations: 0.7039 MB / 0.6409 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/1.424, allocations: 4.961 MB / 0.6457 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/1.425, allocations: 273.2 kB / 0.646 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/1.426, allocations: 169.6 kB / 0.6461 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/1.427, allocations: 1.544 MB / 0.6476 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.427, allocations: 38.56 kB / 0.6477 GB, free: 9.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 1.954e-06/1.427, allocations: 0 / 0.6477 GB, free: 9.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.001791/1.429, allocations: 0.6229 MB / 0.6483 GB, free: 9.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.429, allocations: 85.05 kB / 0.6484 GB, free: 9.086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/1.429, allocations: 175 kB / 0.6485 GB, free: 8.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/1.429, allocations: 33.7 kB / 0.6486 GB, free: 8.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.429, allocations: 288.5 kB / 0.6488 GB, free: 8.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.43, allocations: 241.8 kB / 0.6491 GB, free: 8.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.43, allocations: 97.95 kB / 0.6492 GB, free: 8.234 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/1.43, allocations: 346.8 kB / 0.6495 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.43, allocations: 129.3 kB / 0.6496 GB, free: 7.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/1.431, allocations: 281.4 kB / 0.6499 GB, free: 7.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/1.431, allocations: 478.5 kB / 0.6503 GB, free: 6.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.431, allocations: 7.938 kB / 0.6503 GB, free: 6.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009416/1.432, allocations: 472.6 kB / 0.6508 GB, free: 6.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.432, allocations: 8.188 kB / 0.6508 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.432, allocations: 7.938 kB / 0.6508 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.432, allocations: 11.94 kB / 0.6508 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/1.433, allocations: 72.47 kB / 0.6509 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.433, allocations: 11.98 kB / 0.6509 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.433, allocations: 59.52 kB / 0.651 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/1.433, allocations: 20 kB / 0.651 GB, free: 6.223 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.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 0.001636/1.435, allocations: 193.6 kB / 0.6512 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/1.435, allocations: 27.81 kB / 0.6512 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/1.435, allocations: 33.91 kB / 0.6512 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.435, allocations: 0 / 0.6512 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.435, allocations: 4 kB / 0.6512 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.435, allocations: 11.98 kB / 0.6512 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/1.436, allocations: 0.4949 MB / 0.6517 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.436, allocations: 0 / 0.6517 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.436, allocations: 31.97 kB / 0.6517 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.436, allocations: 4 kB / 0.6517 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.436, allocations: 15.88 kB / 0.6518 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.436, allocations: 0 / 0.6518 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.436, allocations: 0 / 0.6518 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/1.437, allocations: 0.5293 MB / 0.6523 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.437, allocations: 116.7 kB / 0.6524 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/1.437, allocations: 11.94 kB / 0.6524 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.437, allocations: 8 kB / 0.6524 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/1.437, allocations: 23.97 kB / 0.6524 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/1.437, allocations: 15.92 kB / 0.6524 GB, free: 4.617 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.359e-05/1.437, allocations: 119.2 kB / 0.6526 GB, free: 4.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.437, allocations: 0 / 0.6526 GB, free: 4.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006875/1.438, allocations: 199.5 kB / 0.6528 GB, free: 4.305 MB / 478.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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0005992/1.439, allocations: 297.5 kB / 0.653 GB, free: 4.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/1.439, allocations: 0.5564 MB / 0.6536 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.439, allocations: 0 / 0.6536 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/1.44, allocations: 472.1 kB / 0.654 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.441, allocations: 202.9 kB / 0.6542 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/1.443, allocations: 1.058 MB / 0.6553 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/1.443, allocations: 0.9553 MB / 0.6562 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005228/1.444, allocations: 261.7 kB / 0.6564 GB, free: 372 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/1.444, allocations: 47.44 kB / 0.6565 GB, free: 324 kB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/1.444, allocations: 0 / 0.6565 GB, free: 324 kB / 478.1 MB Notification: Performance of Templates: time 0.02224/1.466, allocations: 12.04 MB / 0.6682 GB, free: 4.273 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.633118755184114] Failed to read output from testmodel.py, exit status != 0: 1.4742978271096945 1.490895024 0.07932357400000001 Calling exit ...