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.007871/0.00787, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00126/0.00126, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6404/0.6404, allocations: 95.48 MB / 365.4 MB, free: 9.789 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.001452/0.001452, allocations: 71.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1841, allocations: 69.08 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7278/0.912, allocations: 243.7 MB / 0.8091 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.9225, allocations: 4.068 MB / 0.8131 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.925, allocations: 39.75 kB / 0.8131 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.9275, allocations: 0.8193 MB / 0.8139 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.9348, allocations: 2.257 MB / 0.8161 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008126/0.9429, allocations: 2.644 MB / 0.8187 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.9489, allocations: 3.243 MB / 0.8219 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.9513, allocations: 1.229 MB / 0.8231 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.9555, allocations: 1.642 MB / 0.8247 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.959, allocations: 1.284 MB / 0.8259 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.9594, allocations: 156 kB / 0.8261 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007936/0.9673, allocations: 2.811 MB / 0.8288 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.9684, allocations: 0.5531 MB / 0.8294 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.9701, allocations: 0.8674 MB / 0.8302 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008884/0.979, allocations: 3.569 MB / 0.8337 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.9791, allocations: 0 / 0.8337 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9791, allocations: 0 / 0.8337 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.341e-05/0.9791, allocations: 4 kB / 0.8337 GB, free: 1.211 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.005395/0.9845, allocations: 2.187 MB / 0.8358 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.9846, allocations: 11.98 kB / 0.8358 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.9852, allocations: 182 kB / 0.836 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.9871, allocations: 0.9875 MB / 0.837 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.9872, allocations: 86.2 kB / 0.8371 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.9874, allocations: 112 kB / 0.8372 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.99, allocations: 1.424 MB / 0.8386 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.9901, allocations: 0 / 0.8386 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.9902, allocations: 48 kB / 0.8386 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.9903, allocations: 54.27 kB / 0.8387 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.9934, allocations: 1.738 MB / 0.8404 GB, free: 10.24 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.007462/1.001, allocations: 4.698 MB / 0.8449 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/1.003, allocations: 0.9457 MB / 0.8459 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009668/1.004, allocations: 0.5737 MB / 0.8464 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/1.006, allocations: 2.237 MB / 0.8486 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/1.006, allocations: 51.55 kB / 0.8487 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.937e-06/1.006, allocations: 0 / 0.8487 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.003978/1.01, allocations: 1.623 MB / 0.8502 GB, free: 15.31 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.01, allocations: 60.41 kB / 0.8503 GB, free: 15.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.012, allocations: 1.03 MB / 0.8513 GB, free: 14.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.012, allocations: 49.7 kB / 0.8514 GB, free: 14.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/1.013, allocations: 0.5467 MB / 0.8519 GB, free: 13.58 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/1.013, allocations: 327.2 kB / 0.8522 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/1.013, allocations: 214.4 kB / 0.8524 GB, free: 13.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.013, allocations: 345.9 kB / 0.8527 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/1.014, allocations: 0.4969 MB / 0.8532 GB, free: 12.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.016, allocations: 0.6467 MB / 0.8539 GB, free: 11.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/1.018, allocations: 1.181 MB / 0.855 GB, free: 10.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.018, allocations: 4 kB / 0.855 GB, free: 10.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002923/1.021, allocations: 1.435 MB / 0.8564 GB, free: 8.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/1.021, allocations: 37.69 kB / 0.8564 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.021, allocations: 4 kB / 0.8564 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/1.021, allocations: 8 kB / 0.8565 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.022, allocations: 299.5 kB / 0.8567 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000723/1.023, allocations: 1.184 MB / 0.8579 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.024, allocations: 130 kB / 0.858 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.024, allocations: 59.97 kB / 0.8581 GB, free: 7.059 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001515/1.026, allocations: 0.7561 MB / 0.8588 GB, free: 6.297 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/1.027, allocations: 0.6483 MB / 0.8595 GB, free: 5.605 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/1.029, allocations: 1.169 MB / 0.8606 GB, free: 4.387 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/1.029, allocations: 0 / 0.8606 GB, free: 4.387 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002956/1.032, allocations: 1.427 MB / 0.862 GB, free: 2.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/1.032, allocations: 33.7 kB / 0.862 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.032, allocations: 4 kB / 0.862 GB, free: 2.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.032, allocations: 11.94 kB / 0.862 GB, free: 2.891 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.033, allocations: 255.9 kB / 0.8623 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.033, allocations: 8 kB / 0.8623 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/1.034, allocations: 91.25 kB / 0.8624 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.034, allocations: 51.97 kB / 0.8624 GB, free: 2.492 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.0004501/1.035, allocations: 245.3 kB / 0.8627 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/1.035, allocations: 130.4 kB / 0.8628 GB, free: 2.117 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/1.038, allocations: 1.463 MB / 0.8642 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.038, allocations: 12 kB / 0.8642 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.038, allocations: 4 kB / 0.8642 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.038, allocations: 3.984 kB / 0.8642 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/1.042, allocations: 2.453 MB / 0.8666 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.042, allocations: 0 / 0.8666 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.043, allocations: 263.6 kB / 0.8669 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.044, allocations: 4 kB / 0.8669 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/1.044, allocations: 27.98 kB / 0.8669 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006665/1.044, allocations: 1.176 MB / 0.8681 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.044, allocations: 3.938 kB / 0.8681 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/1.047, allocations: 1.322 MB / 0.8693 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/1.048, allocations: 379 kB / 0.8697 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.048, allocations: 16 kB / 0.8697 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/1.048, allocations: 55.95 kB / 0.8698 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.049, allocations: 64.91 kB / 0.8698 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.049, allocations: 67.89 kB / 0.8699 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001033/1.05, allocations: 0.735 MB / 0.8706 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/1.05, allocations: 3.938 kB / 0.8706 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00262/1.052, allocations: 0.94 MB / 0.8715 GB, free: 8.965 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.001414/1.054, allocations: 0.6113 MB / 0.8721 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004799/1.059, allocations: 2.103 MB / 0.8742 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.059, allocations: 0 / 0.8742 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.06, allocations: 0.6614 MB / 0.8748 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.064, allocations: 0.6939 MB / 0.8755 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/1.068, allocations: 2.235 MB / 0.8777 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/1.068, allocations: 1.187 MB / 0.8789 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001605/1.07, allocations: 467.3 kB / 0.8793 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.07, allocations: 131.4 kB / 0.8794 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of SimCode: time 1.272e-06/1.07, allocations: 0 / 0.8794 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of Templates: time 0.4464/1.517, allocations: 32.51 MB / 0.9112 GB, free: 265.9 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)