Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 179.5 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 100.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 51.73 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03226/0.3427, allocations: 41.34 MB / 1.258 GB, free: 75.75 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3569, allocations: 10.46 MB / 1.269 GB, free: 65.27 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.3597, allocations: 55.69 kB / 1.269 GB, free: 65.21 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.3617, allocations: 0.5244 MB / 1.269 GB, free: 64.68 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006192/0.3679, allocations: 1.754 MB / 1.271 GB, free: 62.92 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.3712, allocations: 1.064 MB / 1.272 GB, free: 61.87 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004995/0.3762, allocations: 4.534 MB / 1.276 GB, free: 57.32 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3774, allocations: 0.881 MB / 1.277 GB, free: 56.43 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3794, allocations: 1.058 MB / 1.278 GB, free: 55.36 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.3803, allocations: 0.8983 MB / 1.279 GB, free: 54.46 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.3804, allocations: 51.94 kB / 1.279 GB, free: 54.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.3823, allocations: 0.7794 MB / 1.28 GB, free: 53.63 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3825, allocations: 223 kB / 1.28 GB, free: 53.41 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.383, allocations: 0.5829 MB / 1.281 GB, free: 52.82 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.3849, allocations: 1.87 MB / 1.283 GB, free: 50.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.385, allocations: 0 / 1.283 GB, free: 50.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.385, allocations: 0 / 1.283 GB, free: 50.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.385, allocations: 0 / 1.283 GB, free: 50.95 MB / 0.823 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.002176/0.3872, allocations: 1.515 MB / 1.284 GB, free: 49.38 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3872, allocations: 11.98 kB / 1.284 GB, free: 49.37 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.3875, allocations: 143.4 kB / 1.284 GB, free: 49.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3889, allocations: 1.08 MB / 1.285 GB, free: 48.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3889, allocations: 50 kB / 1.285 GB, free: 48.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.389, allocations: 75.98 kB / 1.285 GB, free: 47.98 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3901, allocations: 0.7905 MB / 1.286 GB, free: 47.16 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3901, allocations: 0 / 1.286 GB, free: 47.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.3902, allocations: 35.98 kB / 1.286 GB, free: 47.12 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.3902, allocations: 19.94 kB / 1.286 GB, free: 47.11 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.3912, allocations: 0.5711 MB / 1.287 GB, free: 46.53 MB / 0.823 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.003103/0.3943, allocations: 3.54 MB / 1.29 GB, free: 42.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.3948, allocations: 263.9 kB / 1.291 GB, free: 42.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.3951, allocations: 173.8 kB / 1.291 GB, free: 42.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.3955, allocations: 0.6654 MB / 1.291 GB, free: 41.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3955, allocations: 30.56 kB / 1.291 GB, free: 41.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 2.504e-06/0.3955, allocations: 4 kB / 1.291 GB, free: 41.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001073/0.3966, allocations: 0.5163 MB / 1.292 GB, free: 40.95 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3966, allocations: 59.41 kB / 1.292 GB, free: 40.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.3976, allocations: 0.9377 MB / 1.293 GB, free: 39.92 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3976, allocations: 33.7 kB / 1.293 GB, free: 39.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.3979, allocations: 495.7 kB / 1.293 GB, free: 39.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.398, allocations: 114.4 kB / 1.293 GB, free: 39.27 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3981, allocations: 118 kB / 1.294 GB, free: 39.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.3982, allocations: 329.9 kB / 1.294 GB, free: 38.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.3985, allocations: 169 kB / 1.294 GB, free: 38.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.399, allocations: 350.9 kB / 1.294 GB, free: 38.24 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.3996, allocations: 0.5069 MB / 1.295 GB, free: 37.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3997, allocations: 3.984 kB / 1.295 GB, free: 37.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009258/0.4006, allocations: 0.6213 MB / 1.295 GB, free: 37.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4006, allocations: 4 kB / 1.295 GB, free: 37.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.4006, allocations: 8 kB / 1.295 GB, free: 37.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4007, allocations: 8 kB / 1.295 GB, free: 37.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4011, allocations: 123.8 kB / 1.296 GB, free: 36.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.4011, allocations: 11.98 kB / 1.296 GB, free: 36.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.4018, allocations: 107.3 kB / 1.296 GB, free: 36.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.4019, allocations: 27.98 kB / 1.296 GB, free: 36.74 MB / 0.823 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.0003502/0.4022, allocations: 282.2 kB / 1.296 GB, free: 36.46 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4024, allocations: 98.78 kB / 1.296 GB, free: 36.36 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/0.4032, allocations: 484.6 kB / 1.297 GB, free: 35.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4032, allocations: 8 kB / 1.297 GB, free: 35.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4033, allocations: 3.938 kB / 1.297 GB, free: 35.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005742/0.4038, allocations: 449.5 kB / 1.297 GB, free: 35.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.4056, allocations: 1.358 MB / 1.298 GB, free: 33.97 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4056, allocations: 0 / 1.298 GB, free: 33.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.4059, allocations: 71.89 kB / 1.298 GB, free: 33.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.4059, allocations: 11.88 kB / 1.298 GB, free: 33.89 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.406, allocations: 12.16 kB / 1.298 GB, free: 33.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.406, allocations: 4 kB / 1.298 GB, free: 33.87 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.406, allocations: 3.984 kB / 1.298 GB, free: 33.87 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.4107, allocations: 3.592 MB / 1.302 GB, free: 30.12 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.411, allocations: 219.7 kB / 1.302 GB, free: 29.89 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.4111, allocations: 12 kB / 1.302 GB, free: 29.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.4116, allocations: 59.84 kB / 1.302 GB, free: 29.82 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.4117, allocations: 27.91 kB / 1.302 GB, free: 29.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.4117, allocations: 19.98 kB / 1.302 GB, free: 29.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006713/0.4124, allocations: 0.651 MB / 1.303 GB, free: 29.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.4124, allocations: 0 / 1.303 GB, free: 29.11 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001271/0.4137, allocations: 459.5 kB / 1.303 GB, free: 28.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007109/0.4144, allocations: 385.9 kB / 1.304 GB, free: 28.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.4152, allocations: 412.5 kB / 1.304 GB, free: 27.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4152, allocations: 4.062 kB / 1.304 GB, free: 27.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.4156, allocations: 192.2 kB / 1.304 GB, free: 27.69 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.4183, allocations: 0.5999 MB / 1.305 GB, free: 27.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.4208, allocations: 2.205 MB / 1.307 GB, free: 24.83 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.4212, allocations: 1.044 MB / 1.308 GB, free: 23.75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000784/0.422, allocations: 194.6 kB / 1.308 GB, free: 23.56 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4222, allocations: 83.42 kB / 1.308 GB, free: 23.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/0.4222, allocations: 0 / 1.308 GB, free: 23.48 MB / 0.823 GB Notification: Performance of Templates: time 0.03051/0.4527, allocations: 21.03 MB / 1.329 GB, free: 2.695 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)