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.008695/0.008695, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001432/0.001432, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.6432/0.6432, allocations: 95.47 MB / 365.4 MB, free: 9.781 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.00144/0.00144, allocations: 71.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1922, allocations: 69.09 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7784/0.9706, allocations: 243.7 MB / 0.8091 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009244/0.9799, allocations: 4.067 MB / 0.8131 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.9822, allocations: 39.75 kB / 0.8131 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.9851, allocations: 0.8154 MB / 0.8139 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.9921, allocations: 2.258 MB / 0.8161 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008117/1, allocations: 2.648 MB / 0.8187 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005679/1.006, allocations: 3.246 MB / 0.8219 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/1.008, allocations: 1.226 MB / 0.8231 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/1.012, allocations: 1.685 MB / 0.8247 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/1.015, allocations: 1.273 MB / 0.826 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/1.016, allocations: 160 kB / 0.8261 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006526/1.022, allocations: 2.807 MB / 0.8289 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007329/1.023, allocations: 0.557 MB / 0.8294 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/1.024, allocations: 0.8634 MB / 0.8302 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009687/1.034, allocations: 3.58 MB / 0.8337 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.034, allocations: 0 / 0.8337 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/1.034, allocations: 0 / 0.8337 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.352e-05/1.034, allocations: 3.938 kB / 0.8337 GB, free: 1.141 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.005603/1.04, allocations: 2.179 MB / 0.8359 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/1.04, allocations: 15.98 kB / 0.8359 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/1.04, allocations: 186 kB / 0.8361 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.042, allocations: 0.9914 MB / 0.837 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/1.042, allocations: 82.22 kB / 0.8371 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.042, allocations: 112 kB / 0.8372 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/1.045, allocations: 1.416 MB / 0.8386 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.045, allocations: 3.938 kB / 0.8386 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/1.045, allocations: 55.98 kB / 0.8387 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/1.046, allocations: 54.27 kB / 0.8387 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/1.049, allocations: 1.738 MB / 0.8404 GB, free: 10.16 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.007886/1.057, allocations: 4.69 MB / 0.845 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/1.059, allocations: 0.9457 MB / 0.8459 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009771/1.06, allocations: 0.5659 MB / 0.8465 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00241/1.062, allocations: 2.237 MB / 0.8486 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/1.062, allocations: 55.5 kB / 0.8487 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.336e-06/1.062, allocations: 0 / 0.8487 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.00363/1.066, allocations: 1.623 MB / 0.8503 GB, free: 15.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.066, allocations: 60.41 kB / 0.8503 GB, free: 15.17 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.067, allocations: 1.034 MB / 0.8513 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.067, allocations: 45.7 kB / 0.8514 GB, free: 14.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/1.068, allocations: 0.5467 MB / 0.8519 GB, free: 13.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/1.068, allocations: 331.2 kB / 0.8522 GB, free: 13.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/1.068, allocations: 214.4 kB / 0.8524 GB, free: 12.97 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.069, allocations: 345.9 kB / 0.8528 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009709/1.07, allocations: 0.4969 MB / 0.8533 GB, free: 12.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.071, allocations: 0.6506 MB / 0.8539 GB, free: 11.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/1.073, allocations: 1.177 MB / 0.855 GB, free: 10.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.073, allocations: 4 kB / 0.855 GB, free: 10.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002777/1.076, allocations: 1.427 MB / 0.8564 GB, free: 8.762 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/1.076, allocations: 37.7 kB / 0.8565 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.076, allocations: 4.344 kB / 0.8565 GB, free: 8.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.076, allocations: 12 kB / 0.8565 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.077, allocations: 295.6 kB / 0.8568 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/1.078, allocations: 1.19 MB / 0.8579 GB, free: 7.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/1.079, allocations: 130.6 kB / 0.8581 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.079, allocations: 55.97 kB / 0.8581 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001487/1.081, allocations: 0.752 MB / 0.8589 GB, free: 6.238 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/1.082, allocations: 0.6468 MB / 0.8595 GB, free: 5.547 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/1.084, allocations: 1.165 MB / 0.8606 GB, free: 4.332 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/1.084, allocations: 7.938 kB / 0.8606 GB, free: 4.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002658/1.087, allocations: 1.427 MB / 0.862 GB, free: 2.883 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.087, allocations: 37.69 kB / 0.8621 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.087, allocations: 4 kB / 0.8621 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.087, allocations: 11.94 kB / 0.8621 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.088, allocations: 247.6 kB / 0.8623 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.088, allocations: 8 kB / 0.8623 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/1.089, allocations: 94.73 kB / 0.8624 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.089, allocations: 56.02 kB / 0.8625 GB, free: 2.43 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.0004281/1.089, allocations: 249.1 kB / 0.8627 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/1.089, allocations: 130.4 kB / 0.8628 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/1.093, allocations: 1.453 MB / 0.8642 GB, free: 0.582 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.093, allocations: 12 kB / 0.8643 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.093, allocations: 0 / 0.8643 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.093, allocations: 7.969 kB / 0.8643 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/1.097, allocations: 2.457 MB / 0.8667 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.097, allocations: 0 / 0.8667 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.098, allocations: 263.7 kB / 0.8669 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.098, allocations: 7.984 kB / 0.8669 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/1.098, allocations: 31.98 kB / 0.8669 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006912/1.099, allocations: 1.172 MB / 0.8681 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.099, allocations: 4.188 kB / 0.8681 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.101, allocations: 1.325 MB / 0.8694 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/1.102, allocations: 371 kB / 0.8697 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.102, allocations: 16 kB / 0.8698 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/1.103, allocations: 55.94 kB / 0.8698 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.103, allocations: 80.78 kB / 0.8699 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.103, allocations: 59.95 kB / 0.8699 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009247/1.104, allocations: 0.7389 MB / 0.8707 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.104, allocations: 0 / 0.8707 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002356/1.106, allocations: 0.94 MB / 0.8716 GB, free: 8.895 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.001447/1.108, allocations: 0.621 MB / 0.8722 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004407/1.112, allocations: 2.094 MB / 0.8742 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.112, allocations: 0.9375 kB / 0.8742 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.114, allocations: 0.6655 MB / 0.8749 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.117, allocations: 0.6841 MB / 0.8756 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/1.121, allocations: 2.235 MB / 0.8777 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/1.121, allocations: 1.183 MB / 0.8789 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0015/1.123, allocations: 469.1 kB / 0.8793 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/1.123, allocations: 127.4 kB / 0.8795 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of SimCode: time 2.134e-06/1.123, allocations: 0 / 0.8795 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of Templates: time 0.457/1.58, allocations: 33.19 MB / 0.9119 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)