Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0008084/0.0008084, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008958/0.001704, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007895/0.0007895, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008933/0.001683, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9509/0.9509, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07915/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7768/0.7768, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2577/1.035, allocations: 49.05 MB / 447.6 MB, free: 6.676 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.278e-05, allocations: 4.438 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.03758/0.0376, allocations: 21.12 MB / 470 MB, free: 248 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.05916, allocations: 8.547 MB / 478.6 MB, free: 7.777 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.06204, allocations: 158.6 kB / 478.7 MB, free: 7.621 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.06338, allocations: 0.683 MB / 479.4 MB, free: 6.934 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.068, allocations: 2.441 MB / 481.9 MB, free: 4.5 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.07169, allocations: 1.945 MB / 483.8 MB, free: 2.574 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007244/0.07894, allocations: 6.677 MB / 490.5 MB, free: 11.88 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.0823, allocations: 1.713 MB / 492.2 MB, free: 10.14 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005616/0.08792, allocations: 3.397 MB / 495.6 MB, free: 6.762 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.09015, allocations: 1.5 MB / 497.1 MB, free: 5.262 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004199/0.09057, allocations: 196 kB / 497.3 MB, free: 5.07 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.0916, allocations: 408 kB / 497.7 MB, free: 4.672 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.0922, allocations: 486 kB / 498.1 MB, free: 4.195 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008102/0.09301, allocations: 0.7184 MB / 498.9 MB, free: 3.477 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.09503, allocations: 1.798 MB / 0.4889 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.09505, allocations: 0.8438 kB / 0.4889 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09505, allocations: 0 / 0.4889 GB, free: 1.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.451e-05/0.09512, allocations: 0 / 0.4889 GB, free: 1.672 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002945/0.09806, allocations: 3.04 MB / 0.4919 GB, free: 14.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.0981, allocations: 12.03 kB / 0.4919 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.09859, allocations: 320.3 kB / 0.4922 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1002, allocations: 1.356 MB / 0.4935 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1003, allocations: 110.7 kB / 0.4936 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1004, allocations: 144 kB / 0.4938 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1016, allocations: 1.31 MB / 0.4951 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.1016, allocations: 3.938 kB / 0.4951 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.1017, allocations: 60 kB / 0.4951 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.1017, allocations: 42.86 kB / 0.4952 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.1022, allocations: 386.6 kB / 0.4955 GB, free: 10.64 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.1062, allocations: 4.23 MB / 0.4997 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1065, allocations: 264.5 kB / 0.4999 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1066, allocations: 109.1 kB / 0.5 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.986e-05/0.1067, allocations: 36.47 kB / 0.5001 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.107, allocations: 50.94 kB / 0.5001 GB, free: 5.816 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.485e-06/0.107, allocations: 0 / 0.5001 GB, free: 5.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.0004782/0.1075, allocations: 359.3 kB / 0.5004 GB, free: 5.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1075, allocations: 55.91 kB / 0.5005 GB, free: 5.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.1084, allocations: 1.273 MB / 0.5017 GB, free: 4.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.1084, allocations: 45.7 kB / 0.5018 GB, free: 4.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.1087, allocations: 0.7172 MB / 0.5025 GB, free: 3.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1088, allocations: 234 kB / 0.5027 GB, free: 3.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.109, allocations: 222.7 kB / 0.5029 GB, free: 2.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1091, allocations: 350.7 kB / 0.5033 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.1093, allocations: 125.4 kB / 0.5034 GB, free: 2.418 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.1097, allocations: 0.756 MB / 0.5041 GB, free: 1.441 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.1102, allocations: 0.6499 MB / 0.5047 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1102, allocations: 7.938 kB / 0.5048 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006791/0.1109, allocations: 0.6775 MB / 0.5054 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1109, allocations: 8 kB / 0.5054 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1109, allocations: 16 kB / 0.5054 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1109, allocations: 12.94 kB / 0.5055 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.1114, allocations: 288.3 kB / 0.5057 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1114, allocations: 26.39 kB / 0.5058 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.1119, allocations: 115.3 kB / 0.5059 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.1119, allocations: 43.98 kB / 0.5059 GB, free: 15.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002242/0.1122, allocations: 184.3 kB / 0.5061 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1123, allocations: 121.3 kB / 0.5062 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.1127, allocations: 433.8 kB / 0.5066 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.1127, allocations: 16.55 kB / 0.5066 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1127, allocations: 0.8438 kB / 0.5066 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005061/0.1132, allocations: 381.3 kB / 0.507 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1146, allocations: 1.3 MB / 0.5083 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1146, allocations: 4 kB / 0.5083 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.1149, allocations: 170.2 kB / 0.5084 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.1152, allocations: 214.6 kB / 0.5086 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1152, allocations: 4 kB / 0.5086 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1152, allocations: 21.39 kB / 0.5087 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1152, allocations: 7.938 kB / 0.5087 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1152, allocations: 3.938 kB / 0.5087 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1158, allocations: 0.6484 MB / 0.5093 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.1159, allocations: 19.98 kB / 0.5093 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1162, allocations: 35.95 kB / 0.5094 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.1163, allocations: 60.84 kB / 0.5094 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.1163, allocations: 24.94 kB / 0.5094 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000492/0.1168, allocations: 0.6293 MB / 0.5101 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.1168, allocations: 0 / 0.5101 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000776/0.1176, allocations: 0.5309 MB / 0.5106 GB, free: 10.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002695/0.1179, allocations: 172 kB / 0.5107 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004728/0.1183, allocations: 443.4 kB / 0.5112 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.031e-05/0.1184, allocations: 28.44 kB / 0.5112 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1185, allocations: 166 kB / 0.5113 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.1204, allocations: 1.11 MB / 0.5124 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00937/0.1298, allocations: 2.755 MB / 0.5151 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.13, allocations: 324.1 kB / 0.5154 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000795/0.1308, allocations: 273.2 kB / 0.5157 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.132, allocations: 0.6326 MB / 0.5163 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of SimCode: time 1.402e-06/0.132, allocations: 3.938 kB / 0.5163 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.04316/0.1751, allocations: 35.05 MB / 0.5505 GB, free: 2.598 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.28003594186157]