Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.599/1.599, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009738/0.000974, allocations: 186.7 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 0.6316 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007434/0.0007434, allocations: 90.3 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 17.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.595/0.7442, allocations: 300.3 MB / 1.274 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03457/0.7788, allocations: 27.78 MB / 1.301 GB, free: 2.234 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.7821, allocations: 83.44 kB / 1.301 GB, free: 2.152 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004569/0.7867, allocations: 1.526 MB / 1.303 GB, free: 0.6172 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01099/0.7977, allocations: 4.286 MB / 1.307 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.008363/0.8061, allocations: 2.903 MB / 1.31 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.009694/0.8158, allocations: 8.162 MB / 1.318 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.82, allocations: 2.34 MB / 1.32 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.8306, allocations: 4.46 MB / 1.324 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.8343, allocations: 2.274 MB / 1.327 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.8347, allocations: 128 kB / 1.327 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008802/0.8435, allocations: 5.506 MB / 1.332 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.8446, allocations: 0.8837 MB / 1.333 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.8465, allocations: 1.499 MB / 1.334 GB, free: 56 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.8511, allocations: 4.154 MB / 1.338 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8511, allocations: 0 / 1.338 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8511, allocations: 0 / 1.338 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.8512, allocations: 0 / 1.338 GB, free: 11.89 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.005709/0.8569, allocations: 3.046 MB / 1.341 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.857, allocations: 11.97 kB / 1.341 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/0.8662, allocations: 1.573 MB / 1.343 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.8702, allocations: 1.984 MB / 1.345 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/0.8715, allocations: 440.2 kB / 1.345 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005204/0.8721, allocations: 220 kB / 1.346 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.8777, allocations: 3.089 MB / 1.349 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.8778, allocations: 0 / 1.349 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.878, allocations: 88 kB / 1.349 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/0.8781, allocations: 92 kB / 1.349 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006689/0.8848, allocations: 3.205 MB / 1.352 GB, free: 13.82 MB / 0.8855 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.02076/0.9055, allocations: 14.31 MB / 1.366 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.9094, allocations: 1.691 MB / 1.367 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.9111, allocations: 0.787 MB / 1.368 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.9116, allocations: 341.2 kB / 1.369 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.9117, allocations: 47.56 kB / 1.369 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/0.913, allocations: 202.1 kB / 1.369 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.308e-06/0.913, allocations: 7.938 kB / 1.369 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.005618/0.9186, allocations: 2.403 MB / 1.371 GB, free: 8.867 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.9186, allocations: 64.41 kB / 1.371 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/0.9224, allocations: 2.536 MB / 1.374 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.9226, allocations: 57.7 kB / 1.374 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.9235, allocations: 1.276 MB / 1.375 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.9238, allocations: 390.4 kB / 1.375 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.9239, allocations: 40 kB / 1.375 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9241, allocations: 373.9 kB / 1.376 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.9266, allocations: 0.9915 MB / 1.377 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.9295, allocations: 1.638 MB / 1.378 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.934, allocations: 2.315 MB / 1.381 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.9341, allocations: 7.938 kB / 1.381 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00632/0.9404, allocations: 2.875 MB / 1.383 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.9407, allocations: 0.5542 MB / 1.384 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9408, allocations: 12 kB / 1.384 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.9408, allocations: 24 kB / 1.384 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/0.9438, allocations: 0.5929 MB / 1.385 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.945, allocations: 2.391 MB / 1.387 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.9485, allocations: 439.6 kB / 1.387 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.9487, allocations: 87.95 kB / 1.387 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.9487, allocations: 5.719 kB / 1.387 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005828/0.9546, allocations: 2.646 MB / 1.39 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.9546, allocations: 12 kB / 1.39 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.9546, allocations: 24 kB / 1.39 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.9571, allocations: 0.539 MB / 1.391 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.9571, allocations: 27.92 kB / 1.391 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.96, allocations: 386.3 kB / 1.391 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.9602, allocations: 95.83 kB / 1.391 GB, free: 3.637 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.9613, allocations: 0.6254 MB / 1.392 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.9616, allocations: 260.8 kB / 1.392 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.9657, allocations: 1.874 MB / 1.394 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.9658, allocations: 3.984 kB / 1.394 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9658, allocations: 4 kB / 1.394 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.9667, allocations: 0.5365 MB / 1.394 GB, free: 292 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.967, allocations: 20 kB / 1.394 GB, free: 272 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/0.9693, allocations: 277.5 kB / 1.395 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9694, allocations: 60.84 kB / 1.395 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00451/0.9739, allocations: 1.778 MB / 1.396 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005485/0.9794, allocations: 2.853 MB / 1.399 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001563/0.981, allocations: 0.7339 MB / 1.4 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002793/0.9838, allocations: 1.743 MB / 1.402 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of Backend: time 4.31e-07/0.9838, allocations: 0 / 1.402 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009857/0.9937, allocations: 4.043 MB / 1.406 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of SimCode: time 0.01106/1.005, allocations: 5.825 MB / 1.411 GB, free: 14.85 MB / 0.948 GB Notification: Performance of Templates: time 0.4014/1.406, allocations: 64.44 MB / 1.474 GB, free: 331.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)