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.0008805/0.0008805, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009017/0.0009017, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9325/0.9325, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.008065/0.008065, allocations: 1.997 MB / 262.3 MB, free: 10.93 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.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 279.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.15e-05, allocations: 2.312 kB / 279.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1036/0.1036, allocations: 11.85 MB / 291.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007083/0.1107, allocations: 12.17 MB / 303.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1109, allocations: 3.344 kB / 303.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.1114, allocations: 224.4 kB / 303.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.1134, allocations: 1.26 MB / 305.1 MB, free: 12.89 MB / 266.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.001845/0.1152, allocations: 1.174 MB / 306.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006512/0.1159, allocations: 0.9719 MB / 307.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.1159, allocations: 29.61 kB / 307.2 MB, free: 11.62 MB / 266.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.6572/0.7731, allocations: 22.14 MB / 329.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.7735, allocations: 239.4 kB / 329.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.7736, allocations: 40 kB / 329.6 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.7754, allocations: 0.691 MB / 330.3 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.7755, allocations: 119.4 kB / 330.5 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.7757, allocations: 227.5 kB / 330.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.7767, allocations: 0.9384 MB / 331.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.7767, allocations: 0 / 331.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.7767, allocations: 0 / 331.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.7767, allocations: 0 / 331.6 MB, free: 8.445 MB / 282.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.0007208/0.7775, allocations: 0.8507 MB / 332.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.7775, allocations: 8.031 kB / 332.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.7788, allocations: 1.057 MB / 333.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.779, allocations: 205 kB / 333.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.779, allocations: 49.69 kB / 333.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.7791, allocations: 60.31 kB / 333.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.7796, allocations: 0.6998 MB / 334.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7797, allocations: 4 kB / 334.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.7797, allocations: 23.94 kB / 334.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.7797, allocations: 39.97 kB / 334.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.78, allocations: 292.5 kB / 334.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.7814, allocations: 2.254 MB / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.7816, allocations: 173 kB / 337.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.7817, allocations: 77.69 kB / 337.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.7822, allocations: 0.6568 MB / 338 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7822, allocations: 38.5 kB / 338.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.072e-06/0.7822, allocations: 0 / 338.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005679/0.7828, allocations: 438.2 kB / 338.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7828, allocations: 81.11 kB / 338.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.7829, allocations: 187.1 kB / 338.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7829, allocations: 29.7 kB / 338.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.783, allocations: 296.4 kB / 339.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.7831, allocations: 249.7 kB / 339.3 MB, free: 436 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.7832, allocations: 93.91 kB / 339.4 MB, free: 332 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7833, allocations: 350.7 kB / 339.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.7833, allocations: 41.31 kB / 339.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.7834, allocations: 228 kB / 340 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.7836, allocations: 327.6 kB / 340.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7836, allocations: 0 / 340.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002559/0.7839, allocations: 324.7 kB / 340.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.7839, allocations: 8 kB / 340.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7839, allocations: 4 kB / 340.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7839, allocations: 8 kB / 340.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.784, allocations: 71.84 kB / 340.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.784, allocations: 11.94 kB / 340.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.7841, allocations: 63.91 kB / 340.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.7841, allocations: 20 kB / 340.9 MB, free: 14.73 MB / 298.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,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 9.098e-05/0.7842, allocations: 136.5 kB / 341 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.7843, allocations: 19.98 kB / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.7843, allocations: 26.64 kB / 341 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7843, allocations: 0 / 341 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.7843, allocations: 4 kB / 341 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7843, allocations: 0 / 341 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.7845, allocations: 237.3 kB / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7845, allocations: 0 / 341.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.7846, allocations: 23.94 kB / 341.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7846, allocations: 8 kB / 341.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7846, allocations: 7.984 kB / 341.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7846, allocations: 0 / 341.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7846, allocations: 4 kB / 341.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.7848, allocations: 387.7 kB / 341.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.7848, allocations: 31.69 kB / 341.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.7848, allocations: 4 kB / 341.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.7849, allocations: 4 kB / 341.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.7849, allocations: 15.97 kB / 341.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.7849, allocations: 7.984 kB / 341.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.701e-05/0.785, allocations: 40.81 kB / 341.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.785, allocations: 4 kB / 341.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000298/0.7853, allocations: 187.5 kB / 342 MB, free: 13.55 MB / 298.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): 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.0002604/0.7855, allocations: 168.2 kB / 342.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.7858, allocations: 453 kB / 342.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.7858, allocations: 8 kB / 342.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.786, allocations: 414.5 kB / 343 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.7865, allocations: 192.5 kB / 343.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.7875, allocations: 1.003 MB / 344.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.7876, allocations: 159.7 kB / 344.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.7879, allocations: 213.8 kB / 344.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.7881, allocations: 197.2 kB / 344.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7881, allocations: 0 / 344.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Templates: time 0.01099/0.7991, allocations: 10.04 MB / 354.8 MB, free: 0.5781 MB / 298.7 MB " [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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.001423241104931]