Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.0009844/0.0009844, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002366, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001095/0.001095, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002296, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9259/0.9259, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07805/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.007524/0.007524, allocations: 1.993 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002048/0.009572, allocations: 1.231 MB / 247.4 MB, free: 11.54 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.716e-05, allocations: 2.312 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.01178/0.0118, allocations: 11.98 MB / 260.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009484/0.02128, allocations: 12.16 MB / 272.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.02145, allocations: 3.938 kB / 272.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.02185, allocations: 222.4 kB / 273 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.02383, allocations: 1.26 MB / 274.3 MB, free: 488 kB / 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.1064/0.1302, allocations: 1.197 MB / 275.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1313, allocations: 0.9994 MB / 276.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1314, allocations: 32.98 kB / 276.5 MB, free: 5.309 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.6471/0.7785, allocations: 22.12 MB / 298.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.7789, allocations: 241.9 kB / 298.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.7789, allocations: 43.56 kB / 298.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.7805, allocations: 0.7077 MB / 299.6 MB, free: 9.168 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.7806, allocations: 84.44 kB / 299.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.7808, allocations: 201.7 kB / 299.9 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.7819, allocations: 0.8957 MB / 300.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.7819, allocations: 0.7031 kB / 300.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7819, allocations: 0 / 300.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.782, allocations: 0 / 300.8 MB, free: 9.02 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.0008944/0.7828, allocations: 1.101 MB / 301.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.7829, allocations: 11.86 kB / 301.9 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.7843, allocations: 1.042 MB / 303 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.7846, allocations: 219.3 kB / 303.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.7846, allocations: 46.59 kB / 303.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.7846, allocations: 57.47 kB / 303.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.7852, allocations: 0.7033 MB / 304 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.7852, allocations: 3.188 kB / 304 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.7852, allocations: 26.81 kB / 304 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.7853, allocations: 33.31 kB / 304 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.7856, allocations: 290.5 kB / 304.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.787, allocations: 2.272 MB / 306.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.7872, allocations: 173.6 kB / 306.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.7873, allocations: 70.86 kB / 306.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004716/0.7877, allocations: 0.6732 MB / 307.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.7878, allocations: 31.88 kB / 307.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.132e-06/0.7878, allocations: 0 / 307.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006215/0.7884, allocations: 442.4 kB / 308 MB, free: 5.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.7884, allocations: 83.22 kB / 308.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.7885, allocations: 192.1 kB / 308.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.7885, allocations: 29.14 kB / 308.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.7886, allocations: 290.5 kB / 308.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.7887, allocations: 250.9 kB / 308.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/0.7888, allocations: 94.75 kB / 308.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.7889, allocations: 351.8 kB / 309.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.7889, allocations: 36.38 kB / 309.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.789, allocations: 225.8 kB / 309.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.7893, allocations: 353.8 kB / 309.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7893, allocations: 0 / 309.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002481/0.7895, allocations: 322.4 kB / 310.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7895, allocations: 8 kB / 310.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7895, allocations: 8 kB / 310.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7895, allocations: 10.06 kB / 310.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.7897, allocations: 90.48 kB / 310.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/0.7901, allocations: 1.169 MB / 311.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7902, allocations: 55.45 kB / 311.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.7902, allocations: 19.42 kB / 311.5 MB, free: 2.051 MB / 282.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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/0.7903, allocations: 140.8 kB / 311.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.7904, allocations: 18.28 kB / 311.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.7904, allocations: 27.03 kB / 311.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7904, allocations: 7.984 kB / 311.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.7904, allocations: 0 / 311.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7904, allocations: 64 / 311.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.7906, allocations: 238.7 kB / 311.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7906, allocations: 0 / 311.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.7907, allocations: 39.69 kB / 312 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.7908, allocations: 47.52 kB / 312 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7908, allocations: 0 / 312 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.7908, allocations: 3.875 kB / 312 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003938/0.7912, allocations: 1.171 MB / 313.2 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7912, allocations: 128 / 313.2 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.7914, allocations: 387.4 kB / 313.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.7914, allocations: 3.875 kB / 313.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.7914, allocations: 11.17 kB / 313.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.7915, allocations: 14.12 kB / 313.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.7915, allocations: 4 kB / 313.6 MB, free: 72 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.88e-05/0.7915, allocations: 42.69 kB / 313.7 MB, free: 40 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7915, allocations: 0 / 313.7 MB, free: 40 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005293/0.792, allocations: 213.4 kB / 313.9 MB, free: 15.92 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/0.7924, allocations: 187.3 kB / 314 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.7927, allocations: 484 kB / 314.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.7927, allocations: 4 kB / 314.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.793, allocations: 461.3 kB / 315 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.7936, allocations: 334.7 kB / 315.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.7996, allocations: 1.033 MB / 316.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.8, allocations: 162.9 kB / 316.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.8003, allocations: 184.6 kB / 316.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.8005, allocations: 198.8 kB / 316.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.8005, allocations: 3.188 kB / 316.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01244/0.8129, allocations: 10.86 MB / 327.7 MB, free: 2.734 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.197899021208286]