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 2.715/2.715, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001388/0.001388, allocations: 178.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008846/0.0008847, allocations: 82 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006868/0.000687, allocations: 11.16 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2353, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 1.025/1.261, allocations: 195.2 MB / 1.169 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01603/1.277, allocations: 6.533 MB / 1.175 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.279, allocations: 36.62 kB / 1.175 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/1.282, allocations: 0.4997 MB / 1.176 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008989/1.291, allocations: 1.773 MB / 1.178 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00505/1.296, allocations: 0.9068 MB / 1.178 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006642/1.302, allocations: 3.187 MB / 1.182 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/1.305, allocations: 0.7778 MB / 1.182 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00586/1.311, allocations: 1.52 MB / 1.184 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/1.313, allocations: 0.8614 MB / 1.185 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004123/1.314, allocations: 46.31 kB / 1.185 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/1.32, allocations: 1.538 MB / 1.186 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009164/1.321, allocations: 347.3 kB / 1.187 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.322, allocations: 266.4 kB / 1.187 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004209/1.326, allocations: 1.713 MB / 1.188 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.326, allocations: 7.938 kB / 1.188 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.357e-06/1.326, allocations: 0 / 1.188 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.293e-05/1.326, allocations: 0 / 1.188 GB, free: 14.07 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.007125/1.333, allocations: 1.613 MB / 1.19 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.333, allocations: 8.219 kB / 1.19 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/1.339, allocations: 0.5917 MB / 1.191 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/1.342, allocations: 0.9149 MB / 1.192 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/1.343, allocations: 206 kB / 1.192 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/1.343, allocations: 86.42 kB / 1.192 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/1.348, allocations: 1.265 MB / 1.193 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/1.348, allocations: 3.281 kB / 1.193 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/1.348, allocations: 28.56 kB / 1.193 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.409e-05/1.349, allocations: 48.47 kB / 1.193 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/1.356, allocations: 1.613 MB / 1.195 GB, free: 10.28 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.01165/1.367, allocations: 4.101 MB / 1.199 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/1.372, allocations: 1.04 MB / 1.2 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/1.375, allocations: 0.6971 MB / 1.2 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/1.377, allocations: 0.638 MB / 1.201 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.377, allocations: 52.28 kB / 1.201 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.807e-06/1.377, allocations: 0 / 1.201 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.008993/1.386, allocations: 1.913 MB / 1.203 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.386, allocations: 60.09 kB / 1.203 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.388, allocations: 0.8133 MB / 1.204 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.388, allocations: 43.48 kB / 1.204 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/1.388, allocations: 438.9 kB / 1.204 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/1.389, allocations: 264.5 kB / 1.205 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/1.389, allocations: 15.19 kB / 1.205 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.389, allocations: 338.4 kB / 1.205 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/1.392, allocations: 0.5603 MB / 1.205 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/1.395, allocations: 0.6983 MB / 1.206 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/1.398, allocations: 0.6217 MB / 1.207 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.398, allocations: 4 kB / 1.207 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006559/1.404, allocations: 1.419 MB / 1.208 GB, free: 244 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/1.404, allocations: 148.8 kB / 1.208 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.404, allocations: 0 / 1.208 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.404, allocations: 12.06 kB / 1.208 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.408, allocations: 284.3 kB / 1.208 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.409, allocations: 1.199 MB / 1.21 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.411, allocations: 195.2 kB / 1.21 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.411, allocations: 31.98 kB / 1.21 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.411, allocations: 4 kB / 1.21 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0062/1.418, allocations: 1.325 MB / 1.211 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.418, allocations: 3.938 kB / 1.211 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.418, allocations: 4 kB / 1.211 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.42, allocations: 251.8 kB / 1.211 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.42, allocations: 11.89 kB / 1.211 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.423, allocations: 195.1 kB / 1.212 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.423, allocations: 35.98 kB / 1.212 GB, free: 12.48 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.0008785/1.424, allocations: 376.9 kB / 1.212 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/1.424, allocations: 102.8 kB / 1.212 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/1.431, allocations: 1.422 MB / 1.214 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.431, allocations: 8 kB / 1.214 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.431, allocations: 3.953 kB / 1.214 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.431, allocations: 3.984 kB / 1.214 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.441, allocations: 2.913 MB / 1.216 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.441, allocations: 8 kB / 1.216 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.444, allocations: 248 kB / 1.217 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/1.444, allocations: 8 kB / 1.217 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.444, allocations: 27.94 kB / 1.217 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009104/1.445, allocations: 1.191 MB / 1.218 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.445, allocations: 11.98 kB / 1.218 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/1.451, allocations: 1.537 MB / 1.219 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/1.452, allocations: 311.4 kB / 1.22 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/1.453, allocations: 23.98 kB / 1.22 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.455, allocations: 151.9 kB / 1.22 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.455, allocations: 68.38 kB / 1.22 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.455, allocations: 39.97 kB / 1.22 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001228/1.457, allocations: 0.5544 MB / 1.22 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.457, allocations: 0 / 1.22 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002254/1.459, allocations: 0.5418 MB / 1.221 GB, free: 2.699 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.0008571/1.46, allocations: 264.4 kB / 1.221 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.47, allocations: 2.143 MB / 1.223 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.47, allocations: 0 / 1.223 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/1.473, allocations: 0.7027 MB / 1.224 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/1.478, allocations: 0.515 MB / 1.224 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008417/1.487, allocations: 2.477 MB / 1.227 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/1.489, allocations: 1.094 MB / 1.228 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005391/1.494, allocations: 391.5 kB / 1.228 GB, free: 11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.495, allocations: 87.41 kB / 1.228 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.643e-06/1.495, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.05832/1.554, allocations: 19.44 MB / 1.247 GB, free: 7.676 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)