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.001616/0.001616, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001889/0.001889, allocations: 193.5 kB / 22.17 MB, free: 5.656 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.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.01242/0.01242, allocations: 2.805 MB / 308.9 MB, free: 5.949 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.002163/0.002163, allocations: 67.89 kB / 430.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1161, allocations: 52.96 MB / 483.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.253/0.3691, allocations: 51.2 MB / 0.5221 GB, free: 4.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02468/0.3938, allocations: 29.19 MB / 0.5506 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.3943, allocations: 2.531 kB / 0.5506 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3958, allocations: 0.6213 MB / 0.5512 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.4021, allocations: 2.254 MB / 0.5534 GB, free: 13.68 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.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.008392/0.4105, allocations: 2.928 MB / 0.5563 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.4117, allocations: 0.9329 MB / 0.5572 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4118, allocations: 30.5 kB / 0.5572 GB, free: 10.74 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.7016/1.113, allocations: 51.94 MB / 0.6079 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/1.114, allocations: 306.7 kB / 0.6082 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/1.114, allocations: 40 kB / 0.6082 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2255/1.34, allocations: 27.37 MB / 0.635 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004578/1.34, allocations: 115.4 kB / 0.6351 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005337/1.341, allocations: 338.4 kB / 0.6354 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006121/1.347, allocations: 1.854 MB / 0.6372 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.347, allocations: 0 / 0.6372 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/1.347, allocations: 0 / 0.6372 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/1.347, allocations: 0 / 0.6372 GB, free: 10.97 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.001636/1.348, allocations: 1.136 MB / 0.6383 GB, free: 9.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.348, allocations: 12.03 kB / 0.6383 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.351, allocations: 0.4923 MB / 0.6388 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/1.354, allocations: 339.5 kB / 0.6391 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/1.354, allocations: 46.06 kB / 0.6392 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/1.354, allocations: 60 kB / 0.6392 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.355, allocations: 0.8762 MB / 0.6401 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.355, allocations: 0 / 0.6401 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/1.355, allocations: 24 kB / 0.6401 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.355, allocations: 35.97 kB / 0.6402 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/1.357, allocations: 0.7078 MB / 0.6409 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/1.361, allocations: 4.965 MB / 0.6457 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/1.362, allocations: 273.2 kB / 0.646 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/1.362, allocations: 169.6 kB / 0.6461 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/1.364, allocations: 1.539 MB / 0.6476 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.364, allocations: 34.56 kB / 0.6477 GB, free: 15.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 1.953e-06/1.364, allocations: 3.938 kB / 0.6477 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001732/1.366, allocations: 0.6222 MB / 0.6483 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.366, allocations: 85.14 kB / 0.6484 GB, free: 14.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/1.366, allocations: 182.8 kB / 0.6485 GB, free: 14.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/1.366, allocations: 29.69 kB / 0.6486 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/1.366, allocations: 284.6 kB / 0.6488 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/1.367, allocations: 249.7 kB / 0.6491 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.367, allocations: 102 kB / 0.6492 GB, free: 13.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/1.367, allocations: 342.8 kB / 0.6495 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.367, allocations: 121.3 kB / 0.6496 GB, free: 13.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/1.368, allocations: 289.4 kB / 0.6499 GB, free: 12.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/1.368, allocations: 479.4 kB / 0.6503 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.368, allocations: 4 kB / 0.6503 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009146/1.369, allocations: 476.9 kB / 0.6508 GB, free: 11.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.369, allocations: 4 kB / 0.6508 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.369, allocations: 16 kB / 0.6508 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.369, allocations: 4 kB / 0.6508 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/1.37, allocations: 71.91 kB / 0.6509 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.37, allocations: 11.92 kB / 0.6509 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.37, allocations: 59.45 kB / 0.651 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/1.37, allocations: 20 kB / 0.651 GB, free: 11.72 MB / 494.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.0002362/1.37, allocations: 193.7 kB / 0.6512 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/1.37, allocations: 31.81 kB / 0.6512 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/1.37, allocations: 33.91 kB / 0.6512 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.37, allocations: 3.984 kB / 0.6512 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.37, allocations: 0 / 0.6512 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.37, allocations: 7.984 kB / 0.6512 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/1.371, allocations: 0.4931 MB / 0.6517 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.371, allocations: 0 / 0.6517 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/1.371, allocations: 35.91 kB / 0.6518 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.371, allocations: 4 kB / 0.6518 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/1.371, allocations: 11.94 kB / 0.6518 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.371, allocations: 4 kB / 0.6518 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.371, allocations: 0 / 0.6518 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/1.372, allocations: 0.5293 MB / 0.6523 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/1.372, allocations: 112.8 kB / 0.6524 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/1.372, allocations: 15.94 kB / 0.6524 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/1.372, allocations: 8 kB / 0.6524 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/1.372, allocations: 19.97 kB / 0.6524 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.372, allocations: 15.98 kB / 0.6525 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.688e-05/1.373, allocations: 119.2 kB / 0.6526 GB, free: 9.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.373, allocations: 0 / 0.6526 GB, free: 9.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007141/1.373, allocations: 199.4 kB / 0.6528 GB, free: 9.797 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: 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.0006144/1.374, allocations: 297.6 kB / 0.653 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009707/1.375, allocations: 0.5603 MB / 0.6536 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.375, allocations: 4 kB / 0.6536 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/1.375, allocations: 464.2 kB / 0.654 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.377, allocations: 196.9 kB / 0.6542 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/1.378, allocations: 1.07 MB / 0.6553 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/1.379, allocations: 0.9475 MB / 0.6562 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005556/1.38, allocations: 261.7 kB / 0.6564 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/1.38, allocations: 51.44 kB / 0.6565 GB, free: 5.805 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/1.38, allocations: 0 / 0.6565 GB, free: 5.805 MB / 494.1 MB Notification: Performance of Templates: time 0.02369/1.403, allocations: 12.03 MB / 0.6682 GB, free: 9.77 MB / 0.4981 GB " [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 gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.356500629801303] Failed to read output from testmodel.py, exit status != 0: 1.4109698152169585 1.427841466 0.077613939 Calling exit ...