Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.878/1.878, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.001744/0.001744, allocations: 184 kB / 371.8 MB, free: 10.25 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.65/1.65, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0009348/0.0009348, allocations: 114.7 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 14.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2656, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7548/1.02, allocations: 176.7 MB / 1.152 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01239/1.033, allocations: 6.869 MB / 1.159 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/1.035, allocations: 42.72 kB / 1.159 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/1.037, allocations: 0.7218 MB / 1.159 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/1.046, allocations: 2.122 MB / 1.161 GB, free: 272 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/1.05, allocations: 1.13 MB / 1.163 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003975/1.054, allocations: 1.612 MB / 1.164 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/1.056, allocations: 0.822 MB / 1.165 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/1.06, allocations: 1.313 MB / 1.166 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/1.062, allocations: 0.6142 MB / 1.167 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/1.063, allocations: 46.09 kB / 1.167 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/1.067, allocations: 1.33 MB / 1.168 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007672/1.068, allocations: 327.5 kB / 1.168 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009018/1.069, allocations: 267.3 kB / 1.169 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003312/1.072, allocations: 1.6 MB / 1.17 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.072, allocations: 0 / 1.17 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/1.072, allocations: 0 / 1.17 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.947e-05/1.072, allocations: 0 / 1.17 GB, free: 10.72 MB / 0.7136 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.005644/1.078, allocations: 1.587 MB / 1.172 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.078, allocations: 8.781 kB / 1.172 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/1.082, allocations: 0.5923 MB / 1.172 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/1.084, allocations: 0.9161 MB / 1.173 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006764/1.085, allocations: 203 kB / 1.174 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/1.085, allocations: 83.62 kB / 1.174 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/1.089, allocations: 1.253 MB / 1.175 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.089, allocations: 3.984 kB / 1.175 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.089, allocations: 39.05 kB / 1.175 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/1.089, allocations: 46.55 kB / 1.175 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/1.093, allocations: 1.616 MB / 1.176 GB, free: 6.941 MB / 0.7136 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.007956/1.101, allocations: 4.09 MB / 1.18 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.103, allocations: 1.065 MB / 1.182 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/1.104, allocations: 296.5 kB / 1.182 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.104, allocations: 41.19 kB / 1.182 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 6.132e-06/1.104, allocations: 0 / 1.182 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004993/1.109, allocations: 1.915 MB / 1.184 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.109, allocations: 60.41 kB / 1.184 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.11, allocations: 0.8118 MB / 1.185 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.111, allocations: 38.77 kB / 1.185 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.111, allocations: 449.9 kB / 1.185 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/1.111, allocations: 258.9 kB / 1.185 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/1.111, allocations: 14.62 kB / 1.185 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.111, allocations: 333.7 kB / 1.186 GB, free: 436 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.113, allocations: 0.5659 MB / 1.186 GB, free: 168 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/1.114, allocations: 0.6914 MB / 1.187 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.116, allocations: 0.6202 MB / 1.187 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.116, allocations: 3.953 kB / 1.187 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00342/1.119, allocations: 1.419 MB / 1.189 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/1.12, allocations: 0.5631 MB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.12, allocations: 2.844 kB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.12, allocations: 4.281 kB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.121, allocations: 286 kB / 1.19 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006963/1.122, allocations: 1.204 MB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.124, allocations: 196.2 kB / 1.191 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.124, allocations: 31.36 kB / 1.191 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.124, allocations: 3.969 kB / 1.191 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003136/1.127, allocations: 1.323 MB / 1.192 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.127, allocations: 4 kB / 1.192 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.127, allocations: 8.734 kB / 1.192 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.128, allocations: 253 kB / 1.193 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.128, allocations: 9.281 kB / 1.193 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.13, allocations: 198.3 kB / 1.193 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/1.13, allocations: 35.33 kB / 1.193 GB, free: 11.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0006318/1.13, allocations: 379.7 kB / 1.193 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/1.131, allocations: 100.4 kB / 1.193 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.134, allocations: 1.428 MB / 1.195 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.134, allocations: 7.406 kB / 1.195 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.134, allocations: 0 / 1.195 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.134, allocations: 3.984 kB / 1.195 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/1.14, allocations: 2.978 MB / 1.198 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.14, allocations: 4 kB / 1.198 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.141, allocations: 252.1 kB / 1.198 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/1.141, allocations: 8 kB / 1.198 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/1.142, allocations: 31.97 kB / 1.198 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006014/1.142, allocations: 1.191 MB / 1.199 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.142, allocations: 8.094 kB / 1.199 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/1.146, allocations: 1.757 MB / 1.201 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009866/1.147, allocations: 315.4 kB / 1.201 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/1.147, allocations: 20 kB / 1.201 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.149, allocations: 159.8 kB / 1.201 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.149, allocations: 68.33 kB / 1.201 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.149, allocations: 39.97 kB / 1.201 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001171/1.15, allocations: 0.5583 MB / 1.202 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.15, allocations: 0 / 1.202 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002715/1.153, allocations: 0.5341 MB / 1.202 GB, free: 3.008 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0009038/1.154, allocations: 267.1 kB / 1.203 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005735/1.16, allocations: 2.139 MB / 1.205 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.16, allocations: 0 / 1.205 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.162, allocations: 0.7107 MB / 1.205 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.165, allocations: 0.5009 MB / 1.206 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/1.17, allocations: 2.494 MB / 1.208 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.171, allocations: 1.114 MB / 1.209 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002325/1.174, allocations: 395.5 kB / 1.21 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.174, allocations: 79.41 kB / 1.21 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.483e-06/1.174, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.03691/1.211, allocations: 19.42 MB / 1.229 GB, free: 7.992 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)