Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5629/0.5629, allocations: 95.62 MB / 110.6 MB, free: 9.387 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.1 kB / 134.2 MB, free: 2.277 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.465/1.465, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001774/0.001773, allocations: 112 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 61.52 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.88/15.03, allocations: 5.611 GB / 6.123 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000437/15.03, allocations: 88.2 kB / 6.123 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.026/18.06, allocations: 0.7309 GB / 6.854 GB, free: 70.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.665e-06/18.06, allocations: 3.656 kB / 6.854 GB, free: 70.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001315/18.06, allocations: 33.97 kB / 6.854 GB, free: 70.36 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.008276/18.07, allocations: 2.069 MB / 6.856 GB, free: 69.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/18.07, allocations: 13.27 kB / 6.856 GB, free: 69.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/18.07, allocations: 163 kB / 6.856 GB, free: 69.67 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/18.07, allocations: 1.199 MB / 6.857 GB, free: 69.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/18.07, allocations: 75.78 kB / 6.857 GB, free: 69.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/18.07, allocations: 94.3 kB / 6.857 GB, free: 69.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/18.07, allocations: 1.255 MB / 6.858 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/18.07, allocations: 0 / 6.858 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/18.07, allocations: 45.19 kB / 6.858 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/18.07, allocations: 44.39 kB / 6.859 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/18.08, allocations: 1.257 MB / 6.86 GB, free: 69.23 MB / 0.5573 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.008795/18.09, allocations: 4.195 MB / 6.864 GB, free: 67.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/18.09, allocations: 0.6484 MB / 6.864 GB, free: 67.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/18.09, allocations: 1.309 MB / 6.866 GB, free: 65.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/18.09, allocations: 0.6375 MB / 6.866 GB, free: 65.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=68): time 3.847e-06/18.09, allocations: 0 / 6.866 GB, free: 65.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68): time 0.003397/18.09, allocations: 1.21 MB / 6.868 GB, free: 65.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/18.09, allocations: 0.5999 MB / 6.868 GB, free: 64.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/18.09, allocations: 0.8292 MB / 6.869 GB, free: 64.69 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/18.09, allocations: 43.52 kB / 6.869 GB, free: 64.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/18.1, allocations: 0.5226 MB / 6.87 GB, free: 64.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/18.1, allocations: 236.5 kB / 6.87 GB, free: 64.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/18.1, allocations: 14.28 kB / 6.87 GB, free: 64.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/18.1, allocations: 340.8 kB / 6.87 GB, free: 64.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/18.1, allocations: 347.9 kB / 6.87 GB, free: 64.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/18.1, allocations: 0.6356 MB / 6.871 GB, free: 63.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/18.1, allocations: 445.3 kB / 6.871 GB, free: 63.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/18.1, allocations: 2.125 kB / 6.871 GB, free: 63.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002657/18.1, allocations: 1.081 MB / 6.873 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005251/18.1, allocations: 2.038 MB / 6.875 GB, free: 61.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/18.1, allocations: 4.875 kB / 6.875 GB, free: 61.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/18.1, allocations: 13.97 kB / 6.875 GB, free: 61.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/18.1, allocations: 272.7 kB / 6.875 GB, free: 61.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005912/18.1, allocations: 1.18 MB / 6.876 GB, free: 60.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/18.11, allocations: 175.2 kB / 6.876 GB, free: 60.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/18.11, allocations: 41.42 kB / 6.876 GB, free: 60.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/18.11, allocations: 4.094 kB / 6.876 GB, free: 60.27 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002214/18.11, allocations: 0.9756 MB / 6.877 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/18.11, allocations: 8.281 kB / 6.877 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/18.11, allocations: 9.781 kB / 6.877 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/18.11, allocations: 215.6 kB / 6.877 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/18.11, allocations: 16.8 kB / 6.877 GB, free: 60.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/18.11, allocations: 159.3 kB / 6.877 GB, free: 60.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/18.11, allocations: 42.61 kB / 6.878 GB, free: 60.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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.0009921/18.11, allocations: 379.1 kB / 6.878 GB, free: 60.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/18.11, allocations: 125.7 kB / 6.878 GB, free: 59.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/18.11, allocations: 0.9986 MB / 6.879 GB, free: 59.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/18.11, allocations: 12.56 kB / 6.879 GB, free: 59.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/18.11, allocations: 0 / 6.879 GB, free: 59.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/18.11, allocations: 8.953 kB / 6.879 GB, free: 59.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/18.12, allocations: 2.268 MB / 6.881 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/18.12, allocations: 3.281 kB / 6.881 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/18.12, allocations: 223.3 kB / 6.881 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/18.12, allocations: 5.938 kB / 6.881 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/18.12, allocations: 26.2 kB / 6.881 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004349/18.12, allocations: 1.174 MB / 6.883 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/18.12, allocations: 5.812 kB / 6.883 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/18.12, allocations: 1.161 MB / 6.884 GB, free: 57.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/18.12, allocations: 303.9 kB / 6.884 GB, free: 57.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/18.12, allocations: 20.94 kB / 6.884 GB, free: 57.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009404/18.12, allocations: 95.55 kB / 6.884 GB, free: 57.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/18.12, allocations: 72.14 kB / 6.884 GB, free: 57.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/18.12, allocations: 33.58 kB / 6.884 GB, free: 57.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001228/18.13, allocations: 0.6592 MB / 6.885 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/18.13, allocations: 1 kB / 6.885 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003866/18.13, allocations: 0.8319 MB / 6.886 GB, free: 57.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003234/18.13, allocations: 1.521 MB / 6.887 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003642/18.14, allocations: 1.526 MB / 6.889 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/18.14, allocations: 0 / 6.889 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/18.14, allocations: 0.5014 MB / 6.889 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/18.14, allocations: 0.5431 MB / 6.89 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/18.15, allocations: 2.658 MB / 6.892 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/18.15, allocations: 1.124 MB / 6.893 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001713/18.15, allocations: 328.1 kB / 6.894 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/18.15, allocations: 107.1 kB / 6.894 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/18.15, allocations: 0 / 6.894 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.07007/18.22, allocations: 39.09 MB / 6.932 GB, free: 53.42 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe 2>&1)