Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.8 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 91.34 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 9 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6784/0.8883, allocations: 209.5 MB / 1.106 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.8989, allocations: 7.098 MB / 1.113 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.9012, allocations: 37.41 kB / 1.113 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.9031, allocations: 0.6536 MB / 1.114 GB, free: 1.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.9097, allocations: 2.494 MB / 1.116 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.9124, allocations: 1.059 MB / 1.117 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.917, allocations: 3.728 MB / 1.121 GB, free: 1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.9187, allocations: 0.8874 MB / 1.122 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.9229, allocations: 1.636 MB / 1.123 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.9259, allocations: 0.9586 MB / 1.124 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.9263, allocations: 46.75 kB / 1.124 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00568/0.932, allocations: 2.797 MB / 1.127 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008274/0.9328, allocations: 348.6 kB / 1.127 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.9347, allocations: 0.6296 MB / 1.128 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.9382, allocations: 1.794 MB / 1.13 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9382, allocations: 0 / 1.13 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9382, allocations: 2.906 kB / 1.13 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.511e-05/0.9383, allocations: 0 / 1.13 GB, free: 16.62 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.004859/0.9432, allocations: 1.6 MB / 1.131 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9432, allocations: 9.406 kB / 1.131 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.9465, allocations: 0.5913 MB / 1.132 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.9489, allocations: 0.9548 MB / 1.133 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006726/0.9496, allocations: 195.7 kB / 1.133 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.9499, allocations: 89.91 kB / 1.133 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.9535, allocations: 1.272 MB / 1.134 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.9536, allocations: 0.75 kB / 1.134 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9537, allocations: 38.19 kB / 1.134 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.9538, allocations: 47.02 kB / 1.134 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.9585, allocations: 1.613 MB / 1.136 GB, free: 15.16 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.007527/0.9661, allocations: 4.107 MB / 1.14 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.9687, allocations: 1.042 MB / 1.141 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.9703, allocations: 0.6994 MB / 1.142 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.9715, allocations: 0.6395 MB / 1.142 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.9715, allocations: 48.62 kB / 1.142 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/0.9716, allocations: 0 / 1.142 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005087/0.9767, allocations: 1.921 MB / 1.144 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.9767, allocations: 59.97 kB / 1.144 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.9781, allocations: 0.8161 MB / 1.145 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.9782, allocations: 45.55 kB / 1.145 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.9786, allocations: 440.2 kB / 1.145 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.9788, allocations: 263.1 kB / 1.146 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.9789, allocations: 13.5 kB / 1.146 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9791, allocations: 339.6 kB / 1.146 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.9806, allocations: 0.5655 MB / 1.147 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.9822, allocations: 0.7012 MB / 1.147 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.9852, allocations: 1.221 MB / 1.148 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9852, allocations: 0 / 1.148 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003489/0.9887, allocations: 1.431 MB / 1.15 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.9889, allocations: 156.7 kB / 1.15 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.9889, allocations: 0 / 1.15 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.9889, allocations: 6.219 kB / 1.15 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9906, allocations: 285 kB / 1.15 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009993/0.9916, allocations: 1.187 MB / 1.151 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.9934, allocations: 201.5 kB / 1.152 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9935, allocations: 38.52 kB / 1.152 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9935, allocations: 6.906 kB / 1.152 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003212/0.9968, allocations: 1.329 MB / 1.153 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9968, allocations: 2.625 kB / 1.153 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.9968, allocations: 2.625 kB / 1.153 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.998, allocations: 252.4 kB / 1.153 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.998, allocations: 5.938 kB / 1.153 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.9995, allocations: 202.7 kB / 1.153 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9996, allocations: 34.36 kB / 1.153 GB, free: 7.824 MB / 0.7136 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 (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.0007276/1, allocations: 373.2 kB / 1.154 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/1.001, allocations: 108.4 kB / 1.154 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/1.004, allocations: 1.433 MB / 1.155 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.004, allocations: 8.688 kB / 1.155 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.004, allocations: 0 / 1.155 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.004, allocations: 3.984 kB / 1.155 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/1.01, allocations: 2.928 MB / 1.158 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.01, allocations: 6.812 kB / 1.158 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.012, allocations: 247.5 kB / 1.158 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/1.012, allocations: 5.469 kB / 1.158 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/1.012, allocations: 27.56 kB / 1.158 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/1.013, allocations: 1.192 MB / 1.16 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.013, allocations: 5.125 kB / 1.16 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/1.016, allocations: 1.538 MB / 1.161 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/1.017, allocations: 315.1 kB / 1.161 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.018, allocations: 18.66 kB / 1.161 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.019, allocations: 167.5 kB / 1.162 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.019, allocations: 56.45 kB / 1.162 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.019, allocations: 40.94 kB / 1.162 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001006/1.02, allocations: 0.57 MB / 1.162 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/1.02, allocations: 0 / 1.162 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002131/1.022, allocations: 0.5343 MB / 1.163 GB, free: 2.496 MB / 0.7136 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 (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.0007588/1.023, allocations: 279.4 kB / 1.163 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005721/1.029, allocations: 2.148 MB / 1.165 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.029, allocations: 0 / 1.165 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/1.031, allocations: 0.706 MB / 1.166 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.034, allocations: 0.5038 MB / 1.166 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/1.04, allocations: 2.596 MB / 1.169 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/1.04, allocations: 1.091 MB / 1.17 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/1.041, allocations: 99.39 kB / 1.17 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/1.041, allocations: 0 / 1.17 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.03977/1.081, allocations: 26.72 MB / 1.196 GB, free: 1.473 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)