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.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.00092/0.00092, allocations: 77.88 kB / 20.66 MB, free: 3.852 MB / 18.57 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.0009191/0.0009191, allocations: 165 kB / 24.05 MB, free: 468 kB / 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 0.9664/0.9664, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.01342/0.01342, allocations: 1.983 MB / 263 MB, free: 10.92 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.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 1.492e-06/1.492e-06, allocations: 0 / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.228e-05, allocations: 4.844 kB / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.009752/0.009775, allocations: 11.82 MB / 345.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009605/0.01938, allocations: 12.04 MB / 357.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.01967, allocations: 7.938 kB / 357.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.02017, allocations: 210.5 kB / 357.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.02238, allocations: 1.26 MB / 358.9 MB, free: 7.199 MB / 282.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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.02454, allocations: 1.161 MB / 360.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007758/0.02532, allocations: 0.971 MB / 361.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.02539, allocations: 33.89 kB / 361.1 MB, free: 5.023 MB / 282.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 0.6979/0.7233, allocations: 22.04 MB / 383.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.7237, allocations: 243.4 kB / 383.4 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.7237, allocations: 44 kB / 383.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.7256, allocations: 0.6909 MB / 384.1 MB, free: 88 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.7257, allocations: 111.6 kB / 384.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.7259, allocations: 227.4 kB / 384.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.7277, allocations: 0.9306 MB / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7277, allocations: 4 kB / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.7277, allocations: 0 / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.7277, allocations: 0 / 385.4 MB, free: 14.82 MB / 314.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.0008947/0.7286, allocations: 0.994 MB / 386.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.7287, allocations: 19.97 kB / 386.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.7301, allocations: 1.03 MB / 387.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.7303, allocations: 275.8 kB / 387.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.7304, allocations: 45.69 kB / 387.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.7304, allocations: 60.31 kB / 387.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.7311, allocations: 0.7198 MB / 388.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7311, allocations: 0 / 388.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.7312, allocations: 27.98 kB / 388.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7312, allocations: 35.98 kB / 388.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.7315, allocations: 286.8 kB / 388.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.7335, allocations: 3.135 MB / 392 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.7338, allocations: 225.7 kB / 392.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.7338, allocations: 95.41 kB / 392.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/0.7345, allocations: 0.9273 MB / 393.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.7345, allocations: 41.39 kB / 393.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.413e-06/0.7345, allocations: 0 / 393.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.0007085/0.7352, allocations: 0.5058 MB / 393.8 MB, free: 6.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.7352, allocations: 85.05 kB / 393.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7353, allocations: 233.6 kB / 394.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.7353, allocations: 33.7 kB / 394.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.7355, allocations: 331.2 kB / 394.4 MB, free: 5.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.7356, allocations: 253.7 kB / 394.7 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.7357, allocations: 107.5 kB / 394.8 MB, free: 5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7358, allocations: 0.5195 MB / 395.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.7358, allocations: 49.3 kB / 395.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.736, allocations: 283.6 kB / 395.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.7362, allocations: 397 kB / 396 MB, free: 3.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7362, allocations: 0 / 396 MB, free: 3.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003388/0.7366, allocations: 384.3 kB / 396.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7366, allocations: 4 kB / 396.4 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.7366, allocations: 11.94 kB / 396.4 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.7366, allocations: 4 kB / 396.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.7367, allocations: 67.91 kB / 396.5 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7367, allocations: 12.52 kB / 396.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.7369, allocations: 63.39 kB / 396.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.7369, allocations: 20 kB / 396.6 MB, free: 3.012 MB / 314.7 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,medium1.baseProperties.phaseInput,medium2.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.00011/0.737, allocations: 181.3 kB / 396.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.737, allocations: 35.81 kB / 396.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.7371, allocations: 37.95 kB / 396.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7371, allocations: 0 / 396.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7371, allocations: 4 kB / 396.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7371, allocations: 3.938 kB / 396.8 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.7374, allocations: 304.3 kB / 397.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7374, allocations: 3.984 kB / 397.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.7375, allocations: 39.92 kB / 397.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7375, allocations: 0 / 397.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7375, allocations: 4 kB / 397.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7375, allocations: 3.984 kB / 397.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7375, allocations: 0 / 397.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.7378, allocations: 0.5452 MB / 397.7 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.7378, allocations: 43.64 kB / 397.8 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7378, allocations: 3.984 kB / 397.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.7379, allocations: 8 kB / 397.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.738, allocations: 23.95 kB / 397.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.738, allocations: 12 kB / 397.8 MB, free: 1.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.738, allocations: 155.1 kB / 398 MB, free: 1.559 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.738, allocations: 0 / 398 MB, free: 1.559 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.7385, allocations: 183.5 kB / 398.1 MB, free: 1.379 MB / 314.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: 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.0003486/0.7388, allocations: 187 kB / 398.3 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.7394, allocations: 483.6 kB / 398.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7394, allocations: 3.938 kB / 398.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.7396, allocations: 433.4 kB / 399.2 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.7402, allocations: 200.9 kB / 399.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.7412, allocations: 0.9892 MB / 400.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.7414, allocations: 168.7 kB / 400.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.7416, allocations: 213.9 kB / 400.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7419, allocations: 250.1 kB / 401 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.7419, allocations: 4 kB / 401 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Templates: time 0.01239/0.7543, allocations: 10.8 MB / 411.8 MB, free: 3.5 MB / 330.7 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.50927234813571]