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.001522/0.001523, allocations: 108 kB / 15.6 MB, free: 132 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.00175/0.001749, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.738/1.738, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001499/0.001499, allocations: 73.28 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2719, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07378/0.3457, allocations: 77.15 MB / 0.8587 GB, free: 60 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02911/0.3749, allocations: 18.72 MB / 0.877 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004941/0.3799, allocations: 103.4 kB / 0.8771 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004584/0.3845, allocations: 1.246 MB / 0.8783 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.3962, allocations: 3.602 MB / 0.8818 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.402, allocations: 2.096 MB / 0.8839 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008693/0.4107, allocations: 6.645 MB / 0.8904 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.4143, allocations: 2.087 MB / 0.8924 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005854/0.4202, allocations: 2.307 MB / 0.8946 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003206/0.4234, allocations: 1.754 MB / 0.8964 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007193/0.4242, allocations: 200 kB / 0.8965 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.4288, allocations: 1.622 MB / 0.8981 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008385/0.4297, allocations: 0.5294 MB / 0.8986 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.4321, allocations: 1.256 MB / 0.8999 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007623/0.4397, allocations: 3.7 MB / 0.9035 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4398, allocations: 0 / 0.9035 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4398, allocations: 0 / 0.9035 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001437/0.4399, allocations: 0 / 0.9035 GB, free: 2.055 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.4115/0.8514, allocations: 2.705 MB / 0.9061 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.8515, allocations: 9.188 kB / 0.9061 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.8529, allocations: 264.6 kB / 0.9064 GB, free: 121.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.8569, allocations: 1.878 MB / 0.9082 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.857, allocations: 105.7 kB / 0.9083 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.8573, allocations: 144.5 kB / 0.9085 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.8602, allocations: 1.521 MB / 0.91 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.8603, allocations: 5.75 kB / 0.91 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.8604, allocations: 63.28 kB / 0.91 GB, free: 120 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.8605, allocations: 45.58 kB / 0.9101 GB, free: 120 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.8631, allocations: 1.12 MB / 0.9112 GB, free: 119.6 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.008646/0.8718, allocations: 7.639 MB / 0.9186 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.8728, allocations: 482 kB / 0.9191 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.8735, allocations: 339.4 kB / 0.9194 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/0.8741, allocations: 1.15 MB / 0.9205 GB, free: 112.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.8741, allocations: 48.09 kB / 0.9206 GB, free: 112.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/0.8742, allocations: 0 / 0.9206 GB, free: 112.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002389/0.8766, allocations: 0.9644 MB / 0.9215 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.8766, allocations: 59.66 kB / 0.9216 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.8788, allocations: 1.771 MB / 0.9233 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.879, allocations: 45.7 kB / 0.9233 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.8796, allocations: 0.9216 MB / 0.9242 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.8798, allocations: 211 kB / 0.9244 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.8801, allocations: 237.6 kB / 0.9247 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.8802, allocations: 350.4 kB / 0.925 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.8809, allocations: 327.4 kB / 0.9253 GB, free: 109.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.8818, allocations: 0.6896 MB / 0.926 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.8833, allocations: 1.012 MB / 0.927 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.8834, allocations: 5.969 kB / 0.927 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002597/0.886, allocations: 1.211 MB / 0.9282 GB, free: 108 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.886, allocations: 8.969 kB / 0.9282 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.886, allocations: 10.34 kB / 0.9282 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/0.8861, allocations: 16.77 kB / 0.9282 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.8872, allocations: 287.7 kB / 0.9285 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.8873, allocations: 33.86 kB / 0.9285 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.8889, allocations: 170.1 kB / 0.9287 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.889, allocations: 51.12 kB / 0.9287 GB, free: 107.9 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.0009562/0.89, allocations: 438.5 kB / 0.9291 GB, free: 107.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.8903, allocations: 189 kB / 0.9293 GB, free: 107.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.8924, allocations: 0.8619 MB / 0.9302 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.8924, allocations: 9.297 kB / 0.9302 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8924, allocations: 8.438 kB / 0.9302 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.894, allocations: 0.7908 MB / 0.9309 GB, free: 106.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/0.8996, allocations: 2.451 MB / 0.9333 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.8997, allocations: 2.125 kB / 0.9333 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.9004, allocations: 181.1 kB / 0.9335 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.9005, allocations: 4.875 kB / 0.9335 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.9005, allocations: 18.67 kB / 0.9335 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9005, allocations: 4.625 kB / 0.9335 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9005, allocations: 2.688 kB / 0.9335 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.903, allocations: 1.335 MB / 0.9348 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.9039, allocations: 360 kB / 0.9352 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.9041, allocations: 17.75 kB / 0.9352 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.9051, allocations: 70.09 kB / 0.9353 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.9052, allocations: 57.83 kB / 0.9353 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.9053, allocations: 32.92 kB / 0.9354 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001775/0.9071, allocations: 1.23 MB / 0.9366 GB, free: 104 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9071, allocations: 0.8125 kB / 0.9366 GB, free: 104 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002154/0.9092, allocations: 0.6522 MB / 0.9372 GB, free: 103.9 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.001248/0.9105, allocations: 0.6211 MB / 0.9378 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.9127, allocations: 0.892 MB / 0.9387 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.9128, allocations: 2.344 kB / 0.9387 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007392/0.9135, allocations: 358.8 kB / 0.939 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/0.9187, allocations: 1.194 MB / 0.9402 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.9234, allocations: 3.088 MB / 0.9432 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008397/0.9242, allocations: 1.405 MB / 0.9446 GB, free: 99.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001658/0.9259, allocations: 378.6 kB / 0.9449 GB, free: 99.54 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.9262, allocations: 151.1 kB / 0.9451 GB, free: 99.51 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/0.9262, allocations: 1.375 kB / 0.9451 GB, free: 99.51 MB / 0.7169 GB Notification: Performance of Templates: time 0.06509/0.9913, allocations: 42.01 MB / 0.9861 GB, free: 62.93 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)