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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001273/0.001273, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.6714/0.6714, allocations: 95.48 MB / 364.9 MB, free: 10.06 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.001502/0.001502, allocations: 71.89 kB / 444.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3832, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6583/1.042, allocations: 241.9 MB / 0.7381 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00876/1.05, allocations: 4.208 MB / 0.7422 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/1.053, allocations: 55.56 kB / 0.7422 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/1.056, allocations: 0.7308 MB / 0.7429 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006913/1.063, allocations: 2.108 MB / 0.745 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009122/1.072, allocations: 2.484 MB / 0.7474 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006653/1.079, allocations: 3.262 MB / 0.7506 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/1.081, allocations: 1.193 MB / 0.7518 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/1.086, allocations: 1.651 MB / 0.7534 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/1.089, allocations: 1.349 MB / 0.7547 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/1.089, allocations: 156 kB / 0.7549 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006412/1.095, allocations: 2.912 MB / 0.7577 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007226/1.096, allocations: 0.5493 MB / 0.7582 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.097, allocations: 0.8711 MB / 0.7591 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007704/1.105, allocations: 3.693 MB / 0.7627 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.105, allocations: 4 kB / 0.7627 GB, free: 14.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.063e-06/1.105, allocations: 0 / 0.7627 GB, free: 14.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.371e-05/1.105, allocations: 0 / 0.7627 GB, free: 14.69 MB / 0.545 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.004877/1.11, allocations: 2.187 MB / 0.7648 GB, free: 12.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.11, allocations: 15.98 kB / 0.7648 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/1.111, allocations: 178.1 kB / 0.765 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/1.112, allocations: 0.9407 MB / 0.7659 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/1.112, allocations: 90.2 kB / 0.766 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.112, allocations: 108 kB / 0.7661 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/1.115, allocations: 1.42 MB / 0.7675 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.115, allocations: 0 / 0.7675 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/1.115, allocations: 48 kB / 0.7676 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.41e-05/1.115, allocations: 58.27 kB / 0.7676 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/1.118, allocations: 1.738 MB / 0.7693 GB, free: 7.77 MB / 0.545 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.006796/1.125, allocations: 4.701 MB / 0.7739 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.127, allocations: 0.9463 MB / 0.7748 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/1.128, allocations: 0.5659 MB / 0.7754 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/1.13, allocations: 2.237 MB / 0.7776 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.13, allocations: 47.56 kB / 0.7776 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/1.13, allocations: 0 / 0.7776 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97): time 0.003465/1.133, allocations: 1.623 MB / 0.7792 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.133, allocations: 64.34 kB / 0.7793 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.135, allocations: 1.03 MB / 0.7803 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.135, allocations: 53.7 kB / 0.7803 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/1.135, allocations: 0.5428 MB / 0.7808 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/1.136, allocations: 331.2 kB / 0.7812 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/1.136, allocations: 210.4 kB / 0.7814 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.136, allocations: 345.9 kB / 0.7817 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/1.137, allocations: 0.5008 MB / 0.7822 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.138, allocations: 0.6467 MB / 0.7828 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.14, allocations: 1.177 MB / 0.784 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.14, allocations: 4 kB / 0.784 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00292/1.143, allocations: 1.431 MB / 0.7854 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/1.143, allocations: 37.69 kB / 0.7854 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.143, allocations: 4 kB / 0.7854 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/1.143, allocations: 8 kB / 0.7854 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.145, allocations: 307.7 kB / 0.7857 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.146, allocations: 1.176 MB / 0.7868 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.147, allocations: 170.8 kB / 0.787 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.148, allocations: 51.97 kB / 0.7871 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001761/1.149, allocations: 0.7559 MB / 0.7878 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/1.151, allocations: 0.6467 MB / 0.7884 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002089/1.153, allocations: 1.169 MB / 0.7896 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/1.153, allocations: 0 / 0.7896 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002843/1.156, allocations: 1.423 MB / 0.791 GB, free: 456 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/1.156, allocations: 39.72 kB / 0.791 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.156, allocations: 4.344 kB / 0.791 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.156, allocations: 15.94 kB / 0.791 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.157, allocations: 251.6 kB / 0.7913 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.157, allocations: 8 kB / 0.7913 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.158, allocations: 127.1 kB / 0.7914 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/1.158, allocations: 51.97 kB / 0.7914 GB, free: 15.95 MB / 0.5762 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.0005987/1.159, allocations: 245.5 kB / 0.7917 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.159, allocations: 134.4 kB / 0.7918 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.162, allocations: 1.455 MB / 0.7932 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.162, allocations: 15.94 kB / 0.7932 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.162, allocations: 0 / 0.7932 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.162, allocations: 7.969 kB / 0.7932 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/1.166, allocations: 2.453 MB / 0.7956 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.166, allocations: 0 / 0.7956 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.168, allocations: 263.8 kB / 0.7959 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/1.168, allocations: 4 kB / 0.7959 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/1.168, allocations: 27.98 kB / 0.7959 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/1.168, allocations: 1.18 MB / 0.7971 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.168, allocations: 0 / 0.7971 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.171, allocations: 1.325 MB / 0.7984 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006491/1.171, allocations: 371.1 kB / 0.7987 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.172, allocations: 19.98 kB / 0.7987 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/1.173, allocations: 91.8 kB / 0.7988 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.173, allocations: 76.91 kB / 0.7989 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.173, allocations: 59.95 kB / 0.799 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001058/1.174, allocations: 0.7428 MB / 0.7997 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.174, allocations: 0 / 0.7997 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002479/1.176, allocations: 0.9361 MB / 0.8006 GB, free: 6.395 MB / 0.5762 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.001554/1.178, allocations: 0.6137 MB / 0.8012 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005125/1.183, allocations: 2.29 MB / 0.8034 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.183, allocations: 4.25 kB / 0.8034 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/1.185, allocations: 0.6613 MB / 0.8041 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.188, allocations: 0.6955 MB / 0.8048 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/1.192, allocations: 2.756 MB / 0.8075 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/1.193, allocations: 1.183 MB / 0.8086 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001776/1.195, allocations: 464.3 kB / 0.8091 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/1.195, allocations: 127.3 kB / 0.8092 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/1.195, allocations: 0 / 0.8092 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.05617/1.251, allocations: 32.24 MB / 0.8407 GB, free: 13.56 MB / 0.6231 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)