Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.8 kB / 16.38 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 184 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1915, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3851/0.5767, allocations: 77.15 MB / 0.8601 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.6031, allocations: 18.71 MB / 0.8784 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.6073, allocations: 108.7 kB / 0.8785 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.6106, allocations: 1.243 MB / 0.8797 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009528/0.6201, allocations: 3.607 MB / 0.8832 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.6252, allocations: 2.11 MB / 0.8853 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008816/0.6341, allocations: 6.656 MB / 0.8918 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003311/0.6374, allocations: 2.084 MB / 0.8938 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.6426, allocations: 2.318 MB / 0.8961 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.6462, allocations: 1.767 MB / 0.8978 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000618/0.6468, allocations: 200.7 kB / 0.898 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/0.6518, allocations: 1.618 MB / 0.8996 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009264/0.6527, allocations: 0.5363 MB / 0.9001 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003228/0.656, allocations: 1.243 MB / 0.9013 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007426/0.6634, allocations: 3.733 MB / 0.905 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6634, allocations: 1.312 kB / 0.905 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6634, allocations: 3.938 kB / 0.905 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001153/0.6636, allocations: 0 / 0.905 GB, free: 14.29 MB / 0.7012 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.005181/0.6688, allocations: 2.703 MB / 0.9076 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6688, allocations: 12.41 kB / 0.9076 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007097/0.6695, allocations: 263.8 kB / 0.9079 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.6726, allocations: 1.986 MB / 0.9098 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.6727, allocations: 106.7 kB / 0.9099 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.6728, allocations: 148 kB / 0.9101 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.6753, allocations: 1.528 MB / 0.9116 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.6754, allocations: 0 / 0.9116 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6755, allocations: 56 kB / 0.9116 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.6756, allocations: 40 kB / 0.9117 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.6777, allocations: 1.126 MB / 0.9128 GB, free: 7.188 MB / 0.7012 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.007157/0.6849, allocations: 7.601 MB / 0.9202 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.6858, allocations: 478.3 kB / 0.9206 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/0.6865, allocations: 330.9 kB / 0.921 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/0.6873, allocations: 1.145 MB / 0.9221 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6873, allocations: 55.09 kB / 0.9221 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.124e-06/0.6873, allocations: 0 / 0.9221 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002112/0.6894, allocations: 0.9573 MB / 0.9231 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.6895, allocations: 59.97 kB / 0.9231 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.6915, allocations: 1.766 MB / 0.9248 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.6915, allocations: 41.7 kB / 0.9249 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007117/0.6923, allocations: 0.9276 MB / 0.9258 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.6925, allocations: 224.9 kB / 0.926 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.6927, allocations: 226.7 kB / 0.9262 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6929, allocations: 353.9 kB / 0.9266 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.6936, allocations: 326.4 kB / 0.9269 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.6945, allocations: 0.6943 MB / 0.9275 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6961, allocations: 1.008 MB / 0.9285 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.6962, allocations: 4 kB / 0.9285 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002178/0.6984, allocations: 1.214 MB / 0.9297 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6984, allocations: 8.625 kB / 0.9297 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6984, allocations: 12 kB / 0.9297 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.6984, allocations: 15.94 kB / 0.9298 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.6994, allocations: 291.9 kB / 0.93 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.6995, allocations: 23.92 kB / 0.9301 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7006, allocations: 162.4 kB / 0.9302 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.7007, allocations: 50.34 kB / 0.9303 GB, free: 4.031 MB / 0.7169 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.0005636/0.7013, allocations: 441.4 kB / 0.9307 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.7016, allocations: 193.7 kB / 0.9309 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.7033, allocations: 0.8606 MB / 0.9317 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.7047, allocations: 0.7957 MB / 0.9325 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7047, allocations: 0 / 0.9325 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.7052, allocations: 350.6 kB / 0.9328 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.7054, allocations: 16 kB / 0.9328 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.7063, allocations: 67.72 kB / 0.9329 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.7064, allocations: 40.5 kB / 0.9329 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002017/0.7085, allocations: 0.885 MB / 0.9338 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002332/0.7108, allocations: 1.392 MB / 0.9352 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006339/0.7114, allocations: 332.3 kB / 0.9355 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001453/0.7129, allocations: 1.198 MB / 0.9366 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Backend: time 4.81e-07/0.7129, allocations: 0 / 0.9366 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.7159, allocations: 1.242 MB / 0.9379 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 0.007682/0.7236, allocations: 4.293 MB / 0.9421 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.06238/0.786, allocations: 41.23 MB / 0.9823 GB, free: 15.2 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)