Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.82/1.82, allocations: 287.5 MB / 302.6 MB, free: 8.305 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.001378/0.001378, allocations: 184.6 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0008658/0.0008658, allocations: 98.58 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 10.22 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2648, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7873/1.052, allocations: 195.2 MB / 1.169 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01223/1.064, allocations: 6.537 MB / 1.176 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.066, allocations: 36 kB / 1.176 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/1.068, allocations: 0.4968 MB / 1.176 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006815/1.075, allocations: 1.77 MB / 1.178 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/1.078, allocations: 0.9104 MB / 1.179 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00535/1.084, allocations: 3.213 MB / 1.182 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/1.086, allocations: 0.8693 MB / 1.183 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/1.09, allocations: 1.521 MB / 1.184 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/1.092, allocations: 0.8648 MB / 1.185 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/1.092, allocations: 46.69 kB / 1.185 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/1.096, allocations: 1.534 MB / 1.187 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005336/1.097, allocations: 354.5 kB / 1.187 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005782/1.097, allocations: 267.5 kB / 1.187 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003186/1.101, allocations: 1.703 MB / 1.189 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.101, allocations: 0 / 1.189 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.554e-06/1.101, allocations: 2.906 kB / 1.189 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.823e-05/1.101, allocations: 0 / 1.189 GB, free: 13.89 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004571/1.105, allocations: 1.609 MB / 1.19 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.105, allocations: 10.84 kB / 1.19 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/1.108, allocations: 0.5889 MB / 1.191 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/1.11, allocations: 0.9535 MB / 1.192 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/1.111, allocations: 198.6 kB / 1.192 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.111, allocations: 92.08 kB / 1.192 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/1.114, allocations: 1.265 MB / 1.194 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/1.114, allocations: 0 / 1.194 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.114, allocations: 38.12 kB / 1.194 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/1.114, allocations: 48.39 kB / 1.194 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/1.118, allocations: 1.619 MB / 1.195 GB, free: 10.04 MB / 0.7292 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.007739/1.126, allocations: 4.099 MB / 1.199 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/1.129, allocations: 1.041 MB / 1.2 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/1.13, allocations: 0.7035 MB / 1.201 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.131, allocations: 0.6333 MB / 1.202 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.131, allocations: 42.48 kB / 1.202 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.131, allocations: 0 / 1.202 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.005041/1.136, allocations: 1.916 MB / 1.203 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.136, allocations: 57.84 kB / 1.203 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.138, allocations: 0.8133 MB / 1.204 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.138, allocations: 38.83 kB / 1.204 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.138, allocations: 448 kB / 1.205 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.138, allocations: 260.4 kB / 1.205 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/1.138, allocations: 14.84 kB / 1.205 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.139, allocations: 337.9 kB / 1.205 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.14, allocations: 0.5648 MB / 1.206 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/1.142, allocations: 0.6929 MB / 1.207 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/1.144, allocations: 1.221 MB / 1.208 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.144, allocations: 0 / 1.208 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003477/1.148, allocations: 1.415 MB / 1.209 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.148, allocations: 160.8 kB / 1.209 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.148, allocations: 0 / 1.209 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.148, allocations: 4 kB / 1.209 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/1.15, allocations: 284.3 kB / 1.21 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006898/1.15, allocations: 1.192 MB / 1.211 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.152, allocations: 195.2 kB / 1.211 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.152, allocations: 43.91 kB / 1.211 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/1.152, allocations: 4 kB / 1.211 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/1.155, allocations: 1.313 MB / 1.212 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.155, allocations: 7.938 kB / 1.212 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/1.155, allocations: 7.938 kB / 1.212 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.156, allocations: 255.7 kB / 1.212 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.156, allocations: 4 kB / 1.212 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.158, allocations: 191.2 kB / 1.213 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/1.158, allocations: 31.98 kB / 1.213 GB, free: 11.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008084/1.159, allocations: 372.9 kB / 1.213 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/1.159, allocations: 110.6 kB / 1.213 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/1.163, allocations: 1.426 MB / 1.215 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.163, allocations: 8 kB / 1.215 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.163, allocations: 0 / 1.215 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.163, allocations: 7.922 kB / 1.215 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/1.169, allocations: 2.917 MB / 1.217 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.169, allocations: 4 kB / 1.217 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.17, allocations: 260.1 kB / 1.218 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/1.17, allocations: 7.938 kB / 1.218 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/1.17, allocations: 23.98 kB / 1.218 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006312/1.171, allocations: 1.188 MB / 1.219 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.171, allocations: 7.938 kB / 1.219 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/1.174, allocations: 1.533 MB / 1.22 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/1.175, allocations: 307.5 kB / 1.221 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.175, allocations: 19.98 kB / 1.221 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.176, allocations: 167.7 kB / 1.221 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.176, allocations: 64.36 kB / 1.221 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/1.176, allocations: 35.97 kB / 1.221 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000823/1.177, allocations: 0.5583 MB / 1.221 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/1.177, allocations: 0 / 1.221 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001467/1.179, allocations: 0.5302 MB / 1.222 GB, free: 1.781 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006112/1.179, allocations: 271.2 kB / 1.222 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005543/1.185, allocations: 2.143 MB / 1.224 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.185, allocations: 4 kB / 1.224 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.187, allocations: 0.7066 MB / 1.225 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.19, allocations: 0.5067 MB / 1.226 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/1.196, allocations: 2.481 MB / 1.228 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/1.197, allocations: 1.087 MB / 1.229 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00193/1.199, allocations: 391.5 kB / 1.229 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/1.199, allocations: 87.41 kB / 1.229 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of SimCode: time 3.296e-06/1.199, allocations: 4 kB / 1.229 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of Templates: time 0.03426/1.233, allocations: 19.46 MB / 1.248 GB, free: 6.734 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)