Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001007/0.001007, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.272/1.272, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002457/0.002457, allocations: 68.12 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2028, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3369/0.5397, allocations: 41.57 MB / 0.8254 GB, free: 22.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.5522, allocations: 10.32 MB / 0.8355 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.5541, allocations: 53.44 kB / 0.8355 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.5558, allocations: 0.6428 MB / 0.8361 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.5606, allocations: 1.865 MB / 0.838 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.5635, allocations: 1.194 MB / 0.8391 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.5677, allocations: 3.371 MB / 0.8424 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.5691, allocations: 1.069 MB / 0.8435 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.5719, allocations: 1.237 MB / 0.8447 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.573, allocations: 0.8803 MB / 0.8455 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5731, allocations: 100.5 kB / 0.8456 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.5751, allocations: 0.8593 MB / 0.8465 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.5754, allocations: 281.9 kB / 0.8467 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.576, allocations: 0.627 MB / 0.8473 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.5785, allocations: 1.93 MB / 0.8492 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5785, allocations: 0 / 0.8492 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5786, allocations: 1 kB / 0.8492 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.083e-05/0.5786, allocations: 0 / 0.8492 GB, free: 8.715 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002211/0.5808, allocations: 1.507 MB / 0.8507 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5808, allocations: 13.58 kB / 0.8507 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.5812, allocations: 130.3 kB / 0.8508 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5828, allocations: 1.095 MB / 0.8519 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.5828, allocations: 60.19 kB / 0.852 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/0.5829, allocations: 72.12 kB / 0.852 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5842, allocations: 0.7892 MB / 0.8528 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5842, allocations: 5.312 kB / 0.8528 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.5843, allocations: 33.45 kB / 0.8528 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.5843, allocations: 19.08 kB / 0.8529 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5854, allocations: 0.5692 MB / 0.8534 GB, free: 6.32 MB / 0.6544 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.003527/0.589, allocations: 3.547 MB / 0.8569 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.5895, allocations: 260.4 kB / 0.8571 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.5899, allocations: 175.7 kB / 0.8573 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.5903, allocations: 0.6619 MB / 0.8579 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5903, allocations: 39.81 kB / 0.858 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.5903, allocations: 1.156 kB / 0.858 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.00118/0.5915, allocations: 0.5111 MB / 0.8585 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.5915, allocations: 58.7 kB / 0.8585 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5926, allocations: 0.9439 MB / 0.8595 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5927, allocations: 32.95 kB / 0.8595 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.5929, allocations: 495.7 kB / 0.86 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.593, allocations: 116 kB / 0.8601 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.5932, allocations: 115.4 kB / 0.8602 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.5932, allocations: 337 kB / 0.8605 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.5936, allocations: 160.5 kB / 0.8607 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.594, allocations: 344.3 kB / 0.861 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/0.5948, allocations: 0.5132 MB / 0.8615 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5948, allocations: 5.062 kB / 0.8615 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001107/0.5959, allocations: 0.6158 MB / 0.8621 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.596, allocations: 10.62 kB / 0.8621 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.596, allocations: 6.078 kB / 0.8621 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.596, allocations: 8.156 kB / 0.8621 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.5965, allocations: 123.1 kB / 0.8622 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.5965, allocations: 11.94 kB / 0.8623 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.5973, allocations: 92.66 kB / 0.8623 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5973, allocations: 26.45 kB / 0.8624 GB, free: 212 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003641/0.5977, allocations: 276 kB / 0.8626 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.5979, allocations: 102.3 kB / 0.8627 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.5991, allocations: 484.3 kB / 0.8632 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008257/0.5999, allocations: 455 kB / 0.8636 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5999, allocations: 0 / 0.8636 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.6003, allocations: 226 kB / 0.8638 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6004, allocations: 10.25 kB / 0.8638 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.6009, allocations: 29.94 kB / 0.8639 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.601, allocations: 26.83 kB / 0.8639 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00101/0.602, allocations: 499.7 kB / 0.8644 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001327/0.6034, allocations: 0.8331 MB / 0.8652 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003521/0.6037, allocations: 179.6 kB / 0.8654 GB, free: 14.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008319/0.6046, allocations: 0.653 MB / 0.866 GB, free: 13.97 MB / 0.67 GB Notification: Performance of Backend: time 3.7e-07/0.6046, allocations: 0 / 0.866 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.6066, allocations: 0.6953 MB / 0.8667 GB, free: 13.63 MB / 0.67 GB Notification: Performance of SimCode: time 0.004398/0.6111, allocations: 2.445 MB / 0.8691 GB, free: 12.04 MB / 0.67 GB Notification: Performance of Templates: time 0.0367/0.6478, allocations: 21.4 MB / 0.89 GB, free: 14.47 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)