Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0129/0.0129, allocations: 96.31 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.752/1.752, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6012/0.6012, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 71.91 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1775, allocations: 69.08 MB / 0.5711 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8068/0.9844, allocations: 243.8 MB / 0.8091 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.9952, allocations: 4.063 MB / 0.8131 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.9979, allocations: 39.75 kB / 0.8131 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003378/1.001, allocations: 0.8153 MB / 0.8139 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008874/1.01, allocations: 2.255 MB / 0.8161 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009164/1.019, allocations: 2.653 MB / 0.8187 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006598/1.026, allocations: 3.239 MB / 0.8219 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/1.029, allocations: 1.239 MB / 0.8231 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/1.033, allocations: 1.638 MB / 0.8247 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003864/1.037, allocations: 1.281 MB / 0.8259 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007855/1.038, allocations: 156 kB / 0.8261 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009285/1.047, allocations: 2.807 MB / 0.8288 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.049, allocations: 0.5609 MB / 0.8294 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002416/1.051, allocations: 0.8634 MB / 0.8302 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/1.062, allocations: 3.591 MB / 0.8337 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.062, allocations: 4 kB / 0.8337 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.394e-06/1.062, allocations: 0 / 0.8337 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001248/1.062, allocations: 0 / 0.8337 GB, free: 1.246 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.00893/1.071, allocations: 2.242 MB / 0.8359 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/1.072, allocations: 11.98 kB / 0.8359 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/1.073, allocations: 187 kB / 0.8361 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/1.076, allocations: 1 MB / 0.8371 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.076, allocations: 86.22 kB / 0.8372 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/1.076, allocations: 112 kB / 0.8373 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/1.081, allocations: 1.416 MB / 0.8387 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/1.081, allocations: 0 / 0.8387 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/1.081, allocations: 48 kB / 0.8387 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/1.081, allocations: 58.27 kB / 0.8388 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/1.085, allocations: 1.734 MB / 0.8405 GB, free: 10.21 MB / 0.6544 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.009843/1.095, allocations: 4.715 MB / 0.8451 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/1.097, allocations: 0.9456 MB / 0.846 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.098, allocations: 0.5699 MB / 0.8465 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/1.101, allocations: 2.237 MB / 0.8487 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/1.101, allocations: 47.56 kB / 0.8488 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.747e-06/1.101, allocations: 0 / 0.8488 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.003893/1.105, allocations: 1.628 MB / 0.8504 GB, free: 15.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.105, allocations: 60.41 kB / 0.8504 GB, free: 15.19 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.106, allocations: 1.034 MB / 0.8514 GB, free: 14.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/1.106, allocations: 49.7 kB / 0.8515 GB, free: 14.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/1.107, allocations: 0.5516 MB / 0.852 GB, free: 13.53 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/1.107, allocations: 349 kB / 0.8523 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/1.108, allocations: 218.5 kB / 0.8525 GB, free: 12.96 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.108, allocations: 341.9 kB / 0.8529 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.109, allocations: 0.5047 MB / 0.8534 GB, free: 12.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.11, allocations: 0.6467 MB / 0.854 GB, free: 11.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/1.113, allocations: 1.177 MB / 0.8551 GB, free: 10.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.113, allocations: 4 kB / 0.8552 GB, free: 10.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003148/1.116, allocations: 1.439 MB / 0.8566 GB, free: 8.742 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.116, allocations: 40.08 kB / 0.8566 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.116, allocations: 4 kB / 0.8566 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-05/1.116, allocations: 8 kB / 0.8566 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.118, allocations: 303.5 kB / 0.8569 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007389/1.118, allocations: 1.184 MB / 0.8581 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.119, allocations: 135 kB / 0.8582 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.12, allocations: 51.97 kB / 0.8582 GB, free: 6.977 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/1.121, allocations: 0.7543 MB / 0.859 GB, free: 6.219 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001133/1.122, allocations: 0.6506 MB / 0.8596 GB, free: 5.523 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002117/1.124, allocations: 1.165 MB / 0.8607 GB, free: 4.309 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/1.124, allocations: 0 / 0.8607 GB, free: 4.309 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003212/1.128, allocations: 1.431 MB / 0.8621 GB, free: 2.863 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/1.128, allocations: 41.69 kB / 0.8622 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.128, allocations: 4 kB / 0.8622 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.128, allocations: 11.94 kB / 0.8622 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.129, allocations: 247.6 kB / 0.8624 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/1.129, allocations: 8 kB / 0.8624 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.13, allocations: 95.66 kB / 0.8625 GB, free: 2.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.13, allocations: 51.97 kB / 0.8626 GB, free: 2.406 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004547/1.131, allocations: 245.2 kB / 0.8628 GB, free: 2.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/1.131, allocations: 135.1 kB / 0.8629 GB, free: 2.027 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/1.135, allocations: 1.461 MB / 0.8644 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.135, allocations: 12 kB / 0.8644 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.135, allocations: 0 / 0.8644 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.135, allocations: 4.078 kB / 0.8644 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004574/1.139, allocations: 2.465 MB / 0.8668 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.139, allocations: 0 / 0.8668 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.141, allocations: 259.8 kB / 0.867 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/1.141, allocations: 4 kB / 0.867 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/1.141, allocations: 31.97 kB / 0.8671 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007308/1.141, allocations: 1.176 MB / 0.8682 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.141, allocations: 0 / 0.8682 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.144, allocations: 1.334 MB / 0.8695 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008686/1.145, allocations: 379.7 kB / 0.8699 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/1.145, allocations: 16 kB / 0.8699 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.146, allocations: 55.94 kB / 0.87 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.147, allocations: 76.91 kB / 0.87 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/1.147, allocations: 59.89 kB / 0.8701 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001505/1.148, allocations: 0.7389 MB / 0.8708 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.148, allocations: 3.938 kB / 0.8708 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003005/1.151, allocations: 0.9432 MB / 0.8717 GB, free: 8.852 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/1.153, allocations: 0.6263 MB / 0.8723 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005066/1.158, allocations: 2.099 MB / 0.8744 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.158, allocations: 4.25 kB / 0.8744 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.16, allocations: 0.6614 MB / 0.875 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.164, allocations: 0.688 MB / 0.8757 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/1.168, allocations: 2.279 MB / 0.8779 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.169, allocations: 1.187 MB / 0.8791 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001822/1.171, allocations: 460.1 kB / 0.8795 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.172, allocations: 131.4 kB / 0.8797 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/1.172, allocations: 4 kB / 0.8797 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of Templates: time 0.4816/1.653, allocations: 32.74 MB / 0.9116 GB, free: 265.6 MB / 0.7012 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)