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.001109/0.001109, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.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.786/1.786, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001418/0.001419, allocations: 68.75 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08013/0.3175, allocations: 77.15 MB / 0.8595 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.3454, allocations: 18.72 MB / 0.8778 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004294/0.3498, allocations: 103.4 kB / 0.8778 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.3536, allocations: 1.242 MB / 0.8791 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.3651, allocations: 3.61 MB / 0.8826 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007113/0.3722, allocations: 2.114 MB / 0.8847 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.3838, allocations: 6.647 MB / 0.8911 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005049/0.3889, allocations: 2.086 MB / 0.8932 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006643/0.3955, allocations: 2.317 MB / 0.8954 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.3999, allocations: 1.772 MB / 0.8972 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008734/0.4008, allocations: 200 kB / 0.8974 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005572/0.4064, allocations: 1.618 MB / 0.8989 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009913/0.4074, allocations: 0.5449 MB / 0.8995 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.4097, allocations: 1.244 MB / 0.9007 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006713/0.4164, allocations: 3.731 MB / 0.9043 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4164, allocations: 0 / 0.9043 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.568e-06/0.4164, allocations: 0 / 0.9043 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.722e-05/0.4165, allocations: 7.938 kB / 0.9043 GB, free: 1.266 MB / 0.7169 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.4136/0.8301, allocations: 2.686 MB / 0.907 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8302, allocations: 9.656 kB / 0.907 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.8311, allocations: 263.6 kB / 0.9072 GB, free: 121.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.8347, allocations: 1.995 MB / 0.9092 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/0.8349, allocations: 106.2 kB / 0.9093 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.8351, allocations: 148.5 kB / 0.9094 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.8376, allocations: 1.516 MB / 0.9109 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.8377, allocations: 5.688 kB / 0.9109 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.8378, allocations: 61.31 kB / 0.911 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.8379, allocations: 39.77 kB / 0.911 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.8402, allocations: 1.125 MB / 0.9121 GB, free: 119.4 MB / 0.7169 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.00736/0.8476, allocations: 7.587 MB / 0.9195 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009163/0.8485, allocations: 477.5 kB / 0.92 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.8491, allocations: 341 kB / 0.9203 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.8498, allocations: 1.155 MB / 0.9214 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.8498, allocations: 40.81 kB / 0.9215 GB, free: 112 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 4.228e-06/0.8498, allocations: 0 / 0.9215 GB, free: 112 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002194/0.8521, allocations: 0.9631 MB / 0.9224 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8521, allocations: 65.09 kB / 0.9225 GB, free: 111.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.8543, allocations: 1.77 MB / 0.9242 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.8544, allocations: 41.12 kB / 0.9242 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/0.855, allocations: 0.9183 MB / 0.9251 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.8552, allocations: 218.5 kB / 0.9253 GB, free: 110 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.8555, allocations: 228.2 kB / 0.9255 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.8556, allocations: 343.5 kB / 0.9259 GB, free: 109.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.8563, allocations: 331.3 kB / 0.9262 GB, free: 109.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.8572, allocations: 0.6904 MB / 0.9269 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.8587, allocations: 1.01 MB / 0.9279 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.8587, allocations: 5.375 kB / 0.9279 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002515/0.8612, allocations: 1.213 MB / 0.929 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.8613, allocations: 12.94 kB / 0.9291 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.8613, allocations: 14.44 kB / 0.9291 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.8613, allocations: 16.42 kB / 0.9291 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8625, allocations: 285.5 kB / 0.9294 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.562e-05/0.8625, allocations: 29.75 kB / 0.9294 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.8639, allocations: 167.7 kB / 0.9295 GB, free: 107.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.864, allocations: 50.12 kB / 0.9296 GB, free: 107.6 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.0006996/0.8647, allocations: 435.3 kB / 0.93 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.865, allocations: 192.8 kB / 0.9302 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.8669, allocations: 0.8627 MB / 0.931 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.867, allocations: 7.219 kB / 0.931 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.867, allocations: 7.875 kB / 0.931 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.8684, allocations: 0.7927 MB / 0.9318 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.8731, allocations: 2.451 MB / 0.9342 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8731, allocations: 1.188 kB / 0.9342 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/0.8739, allocations: 181.4 kB / 0.9344 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.8739, allocations: 5.875 kB / 0.9344 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.874, allocations: 16.03 kB / 0.9344 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.874, allocations: 4.531 kB / 0.9344 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.874, allocations: 4.469 kB / 0.9344 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.8763, allocations: 1.341 MB / 0.9357 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006004/0.877, allocations: 360.8 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.8772, allocations: 18.34 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009825/0.8782, allocations: 65.69 kB / 0.9362 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.8783, allocations: 58.5 kB / 0.9362 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.8784, allocations: 35.94 kB / 0.9362 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001695/0.8801, allocations: 1.229 MB / 0.9374 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8801, allocations: 0 / 0.9374 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001962/0.8821, allocations: 0.6505 MB / 0.9381 GB, free: 103.5 MB / 0.7169 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.001118/0.8832, allocations: 0.6137 MB / 0.9387 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.885, allocations: 0.8158 MB / 0.9395 GB, free: 103 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.885, allocations: 1.344 kB / 0.9395 GB, free: 103 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006821/0.8857, allocations: 359.4 kB / 0.9398 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/0.8912, allocations: 1.21 MB / 0.941 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.8962, allocations: 3.036 MB / 0.944 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.8971, allocations: 1.401 MB / 0.9453 GB, free: 99.39 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001978/0.8991, allocations: 384.4 kB / 0.9457 GB, free: 99.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.8995, allocations: 155.1 kB / 0.9458 GB, free: 99.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.773e-06/0.8995, allocations: 0 / 0.9458 GB, free: 99.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0561/0.9556, allocations: 41.8 MB / 0.9867 GB, free: 62.85 MB / 0.7169 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)