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.0009299/0.0009299, 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.0009272/0.0009272, allocations: 173 kB / 23.03 MB, free: 1.547 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.9916/0.9916, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.007533/0.007533, allocations: 2 MB / 261.9 MB, free: 11.04 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 2.134e-06/2.134e-06, allocations: 0 / 332.3 MB, free: 16.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3e-05, allocations: 6.25 kB / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.0122/0.01223, allocations: 11.99 MB / 344.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.02419, allocations: 12.19 MB / 356.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.02446, allocations: 7.938 kB / 356.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.02514, allocations: 210.5 kB / 356.7 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.02699, allocations: 1.257 MB / 358 MB, free: 7.168 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.00168/0.02867, allocations: 1.168 MB / 359.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.02936, allocations: 0.9749 MB / 360.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.02943, allocations: 29.91 kB / 360.2 MB, free: 4.98 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.6619/0.6913, allocations: 22.04 MB / 382.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.6917, allocations: 243.3 kB / 382.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.6917, allocations: 40 kB / 382.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.6935, allocations: 0.6909 MB / 383.2 MB, free: 48 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.6936, allocations: 119.5 kB / 383.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.6938, allocations: 227.5 kB / 383.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.695, allocations: 0.9346 MB / 384.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.695, allocations: 0 / 384.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.695, allocations: 0 / 384.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.695, allocations: 0 / 384.5 MB, free: 14.77 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.0008869/0.6959, allocations: 0.998 MB / 385.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6959, allocations: 8.031 kB / 385.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.6978, allocations: 1.034 MB / 386.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.6981, allocations: 279.7 kB / 386.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.6982, allocations: 45.69 kB / 386.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.6982, allocations: 56.38 kB / 386.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009987/0.6992, allocations: 0.7667 MB / 387.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6993, allocations: 4 kB / 387.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.6993, allocations: 24 kB / 387.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.6993, allocations: 35.97 kB / 387.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.6999, allocations: 356.8 kB / 388 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.7023, allocations: 3.24 MB / 391.3 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.7027, allocations: 226 kB / 391.5 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.7028, allocations: 111.1 kB / 391.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007505/0.7036, allocations: 0.9273 MB / 392.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7036, allocations: 41.39 kB / 392.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.996e-06/0.7036, allocations: 3.984 kB / 392.6 MB, free: 6.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001013/0.7046, allocations: 0.5233 MB / 393.1 MB, free: 5.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.7047, allocations: 89.03 kB / 393.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.7048, allocations: 246.1 kB / 393.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7048, allocations: 33.64 kB / 393.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.705, allocations: 339.3 kB / 393.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.7051, allocations: 245.7 kB / 394 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.7052, allocations: 103.6 kB / 394.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.7054, allocations: 0.5196 MB / 394.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.7055, allocations: 61.3 kB / 394.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.7057, allocations: 318.8 kB / 395 MB, free: 3.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.7061, allocations: 443.5 kB / 395.5 MB, free: 3.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7061, allocations: 0 / 395.5 MB, free: 3.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0005382/0.7066, allocations: 428.6 kB / 395.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7066, allocations: 11.94 kB / 395.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7067, allocations: 8.156 kB / 395.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.7067, allocations: 4 kB / 395.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.7069, allocations: 83.89 kB / 396 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000596/0.7075, allocations: 1.802 MB / 397.8 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.7077, allocations: 59.58 kB / 397.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.7077, allocations: 27.98 kB / 397.9 MB, free: 0.6641 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): 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 0.0001375/0.7079, allocations: 184.3 kB / 398.1 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.7079, allocations: 35.81 kB / 398.1 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.708, allocations: 26.66 kB / 398.1 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.708, allocations: 4 kB / 398.1 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.708, allocations: 0 / 398.1 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.708, allocations: 3.984 kB / 398.1 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.7084, allocations: 352.1 kB / 398.5 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7084, allocations: 4 kB / 398.5 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.7085, allocations: 35.98 kB / 398.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7085, allocations: 4 kB / 398.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7085, allocations: 8 kB / 398.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005223/0.7091, allocations: 1.794 MB / 400.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7091, allocations: 4 kB / 400.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.7095, allocations: 0.5455 MB / 400.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.7095, allocations: 47.5 kB / 400.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.7095, allocations: 4.125 kB / 400.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7097, allocations: 8 kB / 400.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.7097, allocations: 11.97 kB / 400.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.7097, allocations: 12 kB / 400.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.7098, allocations: 155.2 kB / 401.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7098, allocations: 0 / 401.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004861/0.7103, allocations: 183.5 kB / 401.3 MB, free: 13.14 MB / 330.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.0003211/0.7106, allocations: 190.7 kB / 401.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.7112, allocations: 0.5038 MB / 402 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7112, allocations: 0 / 402 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.7115, allocations: 460.9 kB / 402.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.7124, allocations: 204.8 kB / 402.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.7138, allocations: 1.001 MB / 403.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.714, allocations: 159.8 kB / 403.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00031/0.7143, allocations: 195.8 kB / 404 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.7143, allocations: 44.5 kB / 404 MB, free: 10.24 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.7143, allocations: 0 / 404 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Templates: time 0.1074/0.8217, allocations: 10.39 MB / 414.4 MB, free: 78.48 MB / 330.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.723640872165561]