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.001332/0.001332, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001449/0.001449, allocations: 169 kB / 23.02 MB, free: 1.551 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.9267/0.9267, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.007835/0.007835, allocations: 1.988 MB / 261.9 MB, free: 11.07 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.283e-06/1.283e-06, allocations: 0 / 332.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.493e-05, allocations: 6.25 kB / 332.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.00669/0.006704, allocations: 11.95 MB / 344.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.01339, allocations: 12.17 MB / 356.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.01356, allocations: 4 kB / 356.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.01401, allocations: 214.4 kB / 356.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.01611, allocations: 1.249 MB / 357.9 MB, free: 7.242 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.002155/0.01826, allocations: 1.165 MB / 359.1 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007961/0.01906, allocations: 0.971 MB / 360.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.01912, allocations: 29.91 kB / 360.1 MB, free: 5.062 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.6733/0.6924, allocations: 22.06 MB / 382.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.6928, allocations: 239.4 kB / 382.4 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.6928, allocations: 40 kB / 382.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.6945, allocations: 0.6909 MB / 383.1 MB, free: 116 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.6946, allocations: 119.5 kB / 383.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.6948, allocations: 223.4 kB / 383.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.6961, allocations: 0.9345 MB / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6961, allocations: 0 / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6961, allocations: 0 / 384.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.6961, allocations: 4 kB / 384.4 MB, free: 14.84 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.0009093/0.697, allocations: 0.9864 MB / 385.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6971, allocations: 15.97 kB / 385.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.6984, allocations: 1.026 MB / 386.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.6987, allocations: 279.7 kB / 386.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.6987, allocations: 45.69 kB / 386.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.6988, allocations: 52.38 kB / 386.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.6995, allocations: 0.7746 MB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6996, allocations: 3.938 kB / 387.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.6996, allocations: 28 kB / 387.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.6996, allocations: 27.98 kB / 387.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.7, allocations: 352.8 kB / 388 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.7021, allocations: 3.244 MB / 391.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.7024, allocations: 226 kB / 391.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.7025, allocations: 115.1 kB / 391.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.7032, allocations: 0.9157 MB / 392.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.7032, allocations: 33.39 kB / 392.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.332e-06/0.7032, allocations: 0 / 392.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007182/0.7039, allocations: 0.5311 MB / 393 MB, free: 5.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.704, allocations: 85.03 kB / 393.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7041, allocations: 246.2 kB / 393.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.7041, allocations: 29.7 kB / 393.4 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.7042, allocations: 343.1 kB / 393.7 MB, free: 5.133 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.7043, allocations: 241.8 kB / 394 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.7044, allocations: 107.6 kB / 394.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7045, allocations: 0.5118 MB / 394.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.7046, allocations: 61.3 kB / 394.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.7048, allocations: 318.7 kB / 394.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.7053, allocations: 439.5 kB / 395.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7053, allocations: 4 kB / 395.4 MB, free: 3.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003723/0.7057, allocations: 428.2 kB / 395.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7057, allocations: 8 kB / 395.8 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7057, allocations: 8 kB / 395.8 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7057, allocations: 8.719 kB / 395.8 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7059, allocations: 67.91 kB / 395.9 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7059, allocations: 15.88 kB / 395.9 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.706, allocations: 59.52 kB / 396 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.706, allocations: 16 kB / 396 MB, free: 2.637 MB / 314.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,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.0001097/0.7061, allocations: 184.4 kB / 396.1 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.7062, allocations: 39.75 kB / 396.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.7062, allocations: 22.66 kB / 396.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.7062, allocations: 4 kB / 396.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7062, allocations: 3.938 kB / 396.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7062, allocations: 3.984 kB / 396.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.7065, allocations: 356.1 kB / 396.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7065, allocations: 0 / 396.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.7065, allocations: 27.98 kB / 396.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7065, allocations: 4 kB / 396.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7066, allocations: 8 kB / 396.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7066, allocations: 0 / 396.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7066, allocations: 0 / 396.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.7069, allocations: 0.5532 MB / 397.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.7069, allocations: 43.62 kB / 397.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.7069, allocations: 0 / 397.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.707, allocations: 12 kB / 397.2 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.707, allocations: 19.91 kB / 397.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.7071, allocations: 8 kB / 397.2 MB, free: 1.293 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.264e-05/0.7071, allocations: 155.2 kB / 397.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7071, allocations: 0 / 397.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.7074, allocations: 183.5 kB / 397.6 MB, free: 0.9609 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: 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.0003003/0.7077, allocations: 175.1 kB / 397.7 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.7081, allocations: 0.4946 MB / 398.2 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7081, allocations: 1.375 kB / 398.2 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.7084, allocations: 440.9 kB / 398.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.709, allocations: 208.9 kB / 398.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7101, allocations: 0.9891 MB / 399.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.7102, allocations: 167.7 kB / 400 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.7105, allocations: 209.9 kB / 400.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.7105, allocations: 48.44 kB / 400.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7105, allocations: 0 / 400.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01197/0.7225, allocations: 9.9 MB / 410.2 MB, free: 4.172 MB / 330.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.468870862852782]