Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001516/0.001516, allocations: 186.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001094/0.001094, allocations: 93.61 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005077, allocations: 12.41 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.219, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.089/1.308, allocations: 265.4 MB / 1.237 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05774/1.366, allocations: 26.9 MB / 1.264 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00432/1.37, allocations: 79.44 kB / 1.264 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.008299/1.379, allocations: 1.661 MB / 1.265 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01996/1.399, allocations: 4.534 MB / 1.27 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01209/1.411, allocations: 2.61 MB / 1.272 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01101/1.422, allocations: 3.91 MB / 1.276 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/1.428, allocations: 2.247 MB / 1.278 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/1.441, allocations: 3.462 MB / 1.282 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/1.447, allocations: 1.584 MB / 1.283 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001319/1.448, allocations: 132 kB / 1.283 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.459, allocations: 2.208 MB / 1.286 GB, free: 14.59 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/1.461, allocations: 0.8139 MB / 1.286 GB, free: 13.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/1.463, allocations: 0.6329 MB / 1.287 GB, free: 13.13 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008934/1.472, allocations: 3.612 MB / 1.29 GB, free: 9.512 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.472, allocations: 0 / 1.29 GB, free: 9.512 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.771e-06/1.472, allocations: 0 / 1.29 GB, free: 9.512 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001549/1.473, allocations: 7.938 kB / 1.29 GB, free: 9.504 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01119/1.484, allocations: 2.988 MB / 1.293 GB, free: 6.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.484, allocations: 12.03 kB / 1.293 GB, free: 6.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/1.504, allocations: 1.581 MB / 1.295 GB, free: 4.836 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/1.511, allocations: 1.904 MB / 1.297 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002569/1.514, allocations: 436.2 kB / 1.297 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009861/1.515, allocations: 220 kB / 1.297 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/1.527, allocations: 3.078 MB / 1.3 GB, free: 15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/1.527, allocations: 3.938 kB / 1.3 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004796/1.527, allocations: 88 kB / 1.301 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.527, allocations: 88 kB / 1.301 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/1.541, allocations: 3.209 MB / 1.304 GB, free: 11.59 MB / 0.8386 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.03946/1.581, allocations: 14.29 MB / 1.318 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/1.589, allocations: 1.708 MB / 1.319 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/1.589, allocations: 158 kB / 1.319 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/1.59, allocations: 51.56 kB / 1.32 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/1.592, allocations: 202 kB / 1.32 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 7.524e-06/1.592, allocations: 0 / 1.32 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.01105/1.603, allocations: 2.406 MB / 1.322 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/1.603, allocations: 68.41 kB / 1.322 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.614, allocations: 2.533 MB / 1.325 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/1.615, allocations: 65.7 kB / 1.325 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.617, allocations: 1.272 MB / 1.326 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/1.618, allocations: 390.5 kB / 1.326 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/1.619, allocations: 32 kB / 1.326 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000287/1.619, allocations: 369.9 kB / 1.327 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007746/1.627, allocations: 0.9954 MB / 1.328 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009089/1.636, allocations: 1.63 MB / 1.329 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008598/1.645, allocations: 1.204 MB / 1.33 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/1.645, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01992/1.665, allocations: 2.883 MB / 1.333 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003874/1.669, allocations: 5.769 MB / 1.339 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.988e-05/1.669, allocations: 16 kB / 1.339 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.753e-05/1.669, allocations: 24 kB / 1.339 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009639/1.678, allocations: 0.5975 MB / 1.34 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/1.681, allocations: 2.391 MB / 1.342 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/1.692, allocations: 443.6 kB / 1.342 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/1.693, allocations: 87.95 kB / 1.342 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.693, allocations: 4 kB / 1.342 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01876/1.712, allocations: 2.646 MB / 1.345 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/1.712, allocations: 12 kB / 1.345 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.14e-05/1.712, allocations: 24 kB / 1.345 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/1.717, allocations: 0.535 MB / 1.345 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.669e-05/1.717, allocations: 39.8 kB / 1.346 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/1.723, allocations: 371.4 kB / 1.346 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/1.723, allocations: 91.95 kB / 1.346 GB, free: 14.17 MB / 0.8855 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.001873/1.725, allocations: 0.6332 MB / 1.347 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007562/1.726, allocations: 260.8 kB / 1.347 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/1.734, allocations: 1.878 MB / 1.349 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.734, allocations: 12 kB / 1.349 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.734, allocations: 0 / 1.349 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.734, allocations: 3.984 kB / 1.349 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.749, allocations: 4.524 MB / 1.353 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.749, allocations: 4 kB / 1.353 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/1.752, allocations: 316.3 kB / 1.353 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.241e-05/1.752, allocations: 15.94 kB / 1.353 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/1.753, allocations: 27.98 kB / 1.353 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/1.755, allocations: 2.372 MB / 1.356 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.755, allocations: 8 kB / 1.356 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/1.763, allocations: 2.514 MB / 1.358 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.765, allocations: 0.5405 MB / 1.359 GB, free: 496 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008547/1.766, allocations: 27.98 kB / 1.359 GB, free: 468 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005199/1.771, allocations: 284.5 kB / 1.359 GB, free: 184 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/1.772, allocations: 76.81 kB / 1.359 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/1.772, allocations: 63.94 kB / 1.359 GB, free: 44 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005578/1.778, allocations: 1.747 MB / 1.361 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.936e-06/1.778, allocations: 4 kB / 1.361 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006554/1.784, allocations: 1.306 MB / 1.362 GB, free: 12.98 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001427/1.786, allocations: 375.7 kB / 1.363 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.803, allocations: 3.703 MB / 1.366 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.803, allocations: 0 / 1.366 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.807, allocations: 0.8269 MB / 1.367 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/1.818, allocations: 1.197 MB / 1.368 GB, free: 6.859 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.831, allocations: 5.001 MB / 1.373 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/1.833, allocations: 1.751 MB / 1.375 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006545/1.84, allocations: 0.7896 MB / 1.375 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.841, allocations: 195.3 kB / 1.376 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/1.841, allocations: 4 kB / 1.376 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of Templates: time 0.1573/1.999, allocations: 44.44 MB / 1.419 GB, free: 2.91 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)