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.0009983/0.0009983, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001034/0.001034, allocations: 173 kB / 23.5 MB, free: 1.055 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.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.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.7807/0.7807, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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. " [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.352e-06/1.352e-06, allocations: 0 / 0.5204 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.85e-05, allocations: 3.516 kB / 0.5204 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05342/0.05344, allocations: 80.16 MB / 0.5986 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.07367, allocations: 19.47 MB / 0.6176 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.07676, allocations: 154.7 kB / 0.6178 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.0792, allocations: 1.253 MB / 0.619 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007308/0.0865, allocations: 3.99 MB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.09008, allocations: 2.248 MB / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006173/0.09625, allocations: 6.871 MB / 0.6318 GB, free: 176 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.09816, allocations: 1.674 MB / 0.6335 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.1022, allocations: 3.626 MB / 0.637 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1037, allocations: 1.593 MB / 0.6385 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.1039, allocations: 200 kB / 0.6387 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.1062, allocations: 1.36 MB / 0.6401 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.1068, allocations: 0.5913 MB / 0.6406 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.1075, allocations: 0.8535 MB / 0.6415 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.1103, allocations: 2.628 MB / 0.644 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1103, allocations: 0 / 0.644 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1103, allocations: 0 / 0.644 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.1103, allocations: 4 kB / 0.644 GB, free: 3.613 MB / 0.6042 GB 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.002601/0.1129, allocations: 2.806 MB / 0.6468 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.113, allocations: 8.031 kB / 0.6468 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.1135, allocations: 411 kB / 0.6472 GB, free: 348 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.1156, allocations: 1.991 MB / 0.6491 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.1157, allocations: 102.7 kB / 0.6492 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.1158, allocations: 152 kB / 0.6494 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.1173, allocations: 1.405 MB / 0.6507 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.1173, allocations: 11.89 kB / 0.6508 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.1174, allocations: 60 kB / 0.6508 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.1174, allocations: 43.98 kB / 0.6509 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.1182, allocations: 490.8 kB / 0.6513 GB, free: 11.87 MB / 0.6198 GB 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.004386/0.1226, allocations: 5.719 MB / 0.6569 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.123, allocations: 245.7 kB / 0.6571 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.1232, allocations: 145.1 kB / 0.6573 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.1234, allocations: 112.4 kB / 0.6574 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1234, allocations: 45.89 kB / 0.6574 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/0.1234, allocations: 4 kB / 0.6574 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.0007806/0.1242, allocations: 0.5312 MB / 0.658 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1243, allocations: 55.91 kB / 0.658 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1254, allocations: 1.382 MB / 0.6594 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1255, allocations: 45.64 kB / 0.6594 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.126, allocations: 1.018 MB / 0.6604 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1261, allocations: 242 kB / 0.6606 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.1263, allocations: 232.4 kB / 0.6609 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004322/0.1268, allocations: 0.5238 MB / 0.6614 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.127, allocations: 130.5 kB / 0.6615 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.1275, allocations: 0.9014 MB / 0.6624 GB, free: 36 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.1282, allocations: 0.7661 MB / 0.6631 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1282, allocations: 8 kB / 0.6631 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0009478/0.1291, allocations: 0.8638 MB / 0.664 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1291, allocations: 16.2 kB / 0.664 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1291, allocations: 12 kB / 0.664 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1292, allocations: 16 kB / 0.664 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.1297, allocations: 255.6 kB / 0.6643 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.1297, allocations: 23.92 kB / 0.6643 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.1301, allocations: 119.2 kB / 0.6644 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.1302, allocations: 55.97 kB / 0.6644 GB, free: 13.72 MB / 0.6355 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.0002596/0.1304, allocations: 232.1 kB / 0.6647 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.1306, allocations: 198.8 kB / 0.6649 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.1313, allocations: 0.5243 MB / 0.6654 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.1313, allocations: 8 kB / 0.6654 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1313, allocations: 3.938 kB / 0.6654 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004386/0.1318, allocations: 497.2 kB / 0.6659 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1336, allocations: 1.798 MB / 0.6676 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1336, allocations: 4 kB / 0.6676 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.1339, allocations: 151.8 kB / 0.6678 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1339, allocations: 4 kB / 0.6678 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1339, allocations: 20.25 kB / 0.6678 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1339, allocations: 4 kB / 0.6678 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1339, allocations: 7.938 kB / 0.6678 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1351, allocations: 0.854 MB / 0.6686 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.1354, allocations: 266.6 kB / 0.6689 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1355, allocations: 16 kB / 0.6689 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.1358, allocations: 39.92 kB / 0.6689 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.1359, allocations: 64.28 kB / 0.669 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.136, allocations: 35.97 kB / 0.669 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007029/0.1367, allocations: 0.8175 MB / 0.6698 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1367, allocations: 0 / 0.6698 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001067/0.1377, allocations: 0.6896 MB / 0.6705 GB, free: 7.34 MB / 0.6355 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.000704/0.1384, allocations: 0.6003 MB / 0.6711 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.139, allocations: 497.2 kB / 0.6716 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.139, allocations: 1.938 kB / 0.6716 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.1393, allocations: 191.7 kB / 0.6717 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.1413, allocations: 0.9432 MB / 0.6727 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.1443, allocations: 2.813 MB / 0.6754 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1445, allocations: 340.1 kB / 0.6757 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006037/0.1452, allocations: 320.7 kB / 0.676 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.1453, allocations: 132.5 kB / 0.6762 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.1453, allocations: 0 / 0.6762 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.2224/0.3677, allocations: 36.52 MB / 0.7118 GB, free: 186.1 MB / 0.6355 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.5980513009708375]