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.001139/0.001139, allocations: 103.7 kB / 16.27 MB, free: 6.109 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.001104/0.001104, allocations: 186.2 kB / 17.19 MB, free: 5.723 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.402/1.402, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.5495 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.001536/0.001536, allocations: 72.38 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2574, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4914/0.7487, allocations: 77.14 MB / 0.8594 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0313/0.7801, allocations: 18.72 MB / 0.8776 GB, free: 160 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006329/0.7865, allocations: 108.9 kB / 0.8777 GB, free: 116 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.7917, allocations: 1.246 MB / 0.879 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.8075, allocations: 3.6 MB / 0.8825 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007059/0.8145, allocations: 2.104 MB / 0.8845 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.8259, allocations: 6.639 MB / 0.891 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/0.8307, allocations: 2.092 MB / 0.893 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007018/0.8378, allocations: 2.304 MB / 0.8953 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.8421, allocations: 1.751 MB / 0.897 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.8432, allocations: 199.2 kB / 0.8972 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.8494, allocations: 1.615 MB / 0.8988 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.8506, allocations: 0.5357 MB / 0.8993 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.8545, allocations: 1.257 MB / 0.9005 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007558/0.8621, allocations: 3.704 MB / 0.9041 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8621, allocations: 4 kB / 0.9041 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8621, allocations: 0 / 0.9041 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001065/0.8622, allocations: 3.938 kB / 0.9042 GB, free: 14.78 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.005826/0.8681, allocations: 2.709 MB / 0.9068 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.8681, allocations: 8.25 kB / 0.9068 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.869, allocations: 264 kB / 0.9071 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003217/0.8723, allocations: 1.884 MB / 0.9089 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.8724, allocations: 106.6 kB / 0.909 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.8726, allocations: 152 kB / 0.9091 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.8752, allocations: 1.505 MB / 0.9106 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.8752, allocations: 15.92 kB / 0.9106 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.8753, allocations: 56 kB / 0.9107 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.8754, allocations: 36 kB / 0.9107 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.8775, allocations: 1.126 MB / 0.9118 GB, free: 7.785 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.008897/0.8864, allocations: 7.651 MB / 0.9193 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.8875, allocations: 478.3 kB / 0.9197 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.8881, allocations: 322.9 kB / 0.9201 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/0.8889, allocations: 1.156 MB / 0.9212 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.889, allocations: 47.06 kB / 0.9212 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.845e-06/0.889, allocations: 0 / 0.9212 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002408/0.8914, allocations: 0.9652 MB / 0.9222 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.8915, allocations: 59.97 kB / 0.9222 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.8937, allocations: 1.77 MB / 0.924 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.8939, allocations: 37.7 kB / 0.924 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/0.8946, allocations: 0.9237 MB / 0.9249 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.8949, allocations: 220.9 kB / 0.9251 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.8952, allocations: 234.7 kB / 0.9253 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8953, allocations: 349.9 kB / 0.9257 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/0.896, allocations: 330.4 kB / 0.926 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.8969, allocations: 0.6907 MB / 0.9266 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8985, allocations: 1.008 MB / 0.9276 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.8985, allocations: 4 kB / 0.9276 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002335/0.9008, allocations: 1.218 MB / 0.9288 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9009, allocations: 8 kB / 0.9288 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.9009, allocations: 12 kB / 0.9288 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.9009, allocations: 16 kB / 0.9289 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.9019, allocations: 295.1 kB / 0.9291 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.902, allocations: 23.92 kB / 0.9292 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.9034, allocations: 166.4 kB / 0.9293 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.9035, allocations: 49.56 kB / 0.9294 GB, free: 4.57 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.0007108/0.9042, allocations: 433.4 kB / 0.9298 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.9046, allocations: 201.6 kB / 0.93 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.9063, allocations: 0.873 MB / 0.9308 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.9063, allocations: 7.984 kB / 0.9308 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9064, allocations: 0 / 0.9308 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/0.9076, allocations: 0.7957 MB / 0.9316 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/0.9117, allocations: 2.439 MB / 0.934 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.9118, allocations: 3.938 kB / 0.934 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.9125, allocations: 183.7 kB / 0.9342 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.9126, allocations: 4 kB / 0.9342 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.9126, allocations: 20 kB / 0.9342 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.9126, allocations: 8.016 kB / 0.9342 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.9126, allocations: 11.94 kB / 0.9342 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.9151, allocations: 1.324 MB / 0.9355 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/0.916, allocations: 370.4 kB / 0.9359 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.9163, allocations: 15.98 kB / 0.9359 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.9173, allocations: 63.86 kB / 0.9359 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.9174, allocations: 48.5 kB / 0.936 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.9175, allocations: 39.97 kB / 0.936 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001777/0.9193, allocations: 1.227 MB / 0.9372 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9193, allocations: 0 / 0.9372 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002275/0.9216, allocations: 0.659 MB / 0.9379 GB, free: 11.63 MB / 0.7325 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.001494/0.9231, allocations: 0.6118 MB / 0.9385 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.9255, allocations: 0.8943 MB / 0.9393 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.9255, allocations: 4 kB / 0.9393 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.9264, allocations: 358.9 kB / 0.9397 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008661/0.935, allocations: 1.207 MB / 0.9409 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.9431, allocations: 3.12 MB / 0.9439 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.9448, allocations: 1.384 MB / 0.9453 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.9455, allocations: 159.4 kB / 0.9454 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of SimCode: time 2.064e-06/0.9455, allocations: 0 / 0.9454 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of Templates: time 0.05526/1.001, allocations: 34.82 MB / 0.9794 GB, free: 1.457 MB / 0.7637 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)