Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.762/1.762, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009243, allocations: 98.62 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004455, allocations: 11.98 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.916, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.26/6.176, allocations: 1.887 GB / 2.913 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/6.176, allocations: 89.42 kB / 2.913 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.26/9.436, allocations: 0.9983 GB / 3.911 GB, free: 63.16 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.613e-06/9.436, allocations: 0 / 3.911 GB, free: 63.16 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001741/9.436, allocations: 27.98 kB / 3.911 GB, free: 63.13 MB / 0.9792 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.006764/9.443, allocations: 1.897 MB / 3.913 GB, free: 61.18 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/9.443, allocations: 8.031 kB / 3.913 GB, free: 61.17 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/9.446, allocations: 0.5418 MB / 3.914 GB, free: 60.62 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/9.449, allocations: 1.094 MB / 3.915 GB, free: 59.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005987/9.45, allocations: 198.4 kB / 3.915 GB, free: 59.29 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/9.45, allocations: 88.36 kB / 3.915 GB, free: 59.21 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/9.453, allocations: 1.349 MB / 3.917 GB, free: 57.84 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/9.453, allocations: 0 / 3.917 GB, free: 57.84 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/9.454, allocations: 35.98 kB / 3.917 GB, free: 57.81 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/9.454, allocations: 45.98 kB / 3.917 GB, free: 57.76 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/9.457, allocations: 1.573 MB / 3.918 GB, free: 56.19 MB / 0.9792 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.007106/9.464, allocations: 4.099 MB / 3.922 GB, free: 51.81 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/9.467, allocations: 1.065 MB / 3.923 GB, free: 50.73 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/9.468, allocations: 0.6943 MB / 3.924 GB, free: 50.04 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/9.469, allocations: 0.6048 MB / 3.924 GB, free: 49.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/9.469, allocations: 43.16 kB / 3.925 GB, free: 49.27 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 3.387e-06/9.469, allocations: 3.938 kB / 3.925 GB, free: 49.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.00457/9.474, allocations: 1.925 MB / 3.926 GB, free: 47.33 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/9.474, allocations: 60.06 kB / 3.926 GB, free: 47.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/9.475, allocations: 0.8114 MB / 3.927 GB, free: 46.42 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/9.475, allocations: 45.7 kB / 3.927 GB, free: 46.37 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/9.476, allocations: 440.6 kB / 3.928 GB, free: 45.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/9.476, allocations: 268.1 kB / 3.928 GB, free: 45.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/9.476, allocations: 16 kB / 3.928 GB, free: 45.65 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/9.476, allocations: 333.9 kB / 3.928 GB, free: 45.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/9.477, allocations: 0.5641 MB / 3.929 GB, free: 44.76 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/9.479, allocations: 0.7264 MB / 3.93 GB, free: 43.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/9.481, allocations: 1.234 MB / 3.931 GB, free: 42.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/9.481, allocations: 4 kB / 3.931 GB, free: 42.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00316/9.484, allocations: 1.445 MB / 3.932 GB, free: 41.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.264e-05/9.485, allocations: 149.4 kB / 3.932 GB, free: 41.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/9.485, allocations: 0 / 3.932 GB, free: 41.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/9.485, allocations: 4 kB / 3.932 GB, free: 41.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/9.486, allocations: 295.6 kB / 3.933 GB, free: 40.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006127/9.487, allocations: 1.191 MB / 3.934 GB, free: 39.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/9.488, allocations: 203.3 kB / 3.934 GB, free: 39.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/9.488, allocations: 43.91 kB / 3.934 GB, free: 39.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/9.488, allocations: 5.406 kB / 3.934 GB, free: 39.32 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002776/9.491, allocations: 1.343 MB / 3.935 GB, free: 37.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/9.491, allocations: 3.938 kB / 3.935 GB, free: 37.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/9.491, allocations: 7.938 kB / 3.935 GB, free: 37.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/9.492, allocations: 255.8 kB / 3.936 GB, free: 37.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/9.492, allocations: 7.984 kB / 3.936 GB, free: 37.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/9.494, allocations: 195.1 kB / 3.936 GB, free: 37.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/9.494, allocations: 35.98 kB / 3.936 GB, free: 37.47 MB / 0.9792 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 (88): * Single equations (assignments): 85 * 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.0007607/9.495, allocations: 380.9 kB / 3.936 GB, free: 37.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/9.495, allocations: 106.7 kB / 3.936 GB, free: 36.98 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/9.498, allocations: 1.453 MB / 3.938 GB, free: 35.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/9.498, allocations: 8 kB / 3.938 GB, free: 35.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/9.498, allocations: 0 / 3.938 GB, free: 35.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/9.498, allocations: 3.984 kB / 3.938 GB, free: 35.51 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/9.504, allocations: 2.93 MB / 3.941 GB, free: 32.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/9.504, allocations: 7.938 kB / 3.941 GB, free: 32.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/9.505, allocations: 260.1 kB / 3.941 GB, free: 32.22 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/9.505, allocations: 8 kB / 3.941 GB, free: 32.21 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/9.505, allocations: 27.97 kB / 3.941 GB, free: 32.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000425/9.506, allocations: 1.195 MB / 3.942 GB, free: 30.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/9.506, allocations: 4 kB / 3.942 GB, free: 30.94 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/9.509, allocations: 1.557 MB / 3.944 GB, free: 29.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/9.509, allocations: 307.6 kB / 3.944 GB, free: 29 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/9.51, allocations: 27.86 kB / 3.944 GB, free: 28.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/9.511, allocations: 163.7 kB / 3.944 GB, free: 28.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/9.511, allocations: 64.42 kB / 3.944 GB, free: 28.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/9.511, allocations: 43.91 kB / 3.944 GB, free: 28.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009436/9.512, allocations: 0.5624 MB / 3.945 GB, free: 28.13 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.81e-07/9.512, allocations: 0 / 3.945 GB, free: 28.13 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002949/9.515, allocations: 0.7569 MB / 3.945 GB, free: 27.38 MB / 0.9792 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 (78): * Single equations (assignments): 76 * 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.003695/9.519, allocations: 2.357 MB / 3.948 GB, free: 24.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005126/9.524, allocations: 2.159 MB / 3.95 GB, free: 22.67 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/9.524, allocations: 0 / 3.95 GB, free: 22.67 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/9.526, allocations: 0.7105 MB / 3.951 GB, free: 21.96 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/9.529, allocations: 0.5092 MB / 3.951 GB, free: 21.45 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/9.534, allocations: 2.557 MB / 3.954 GB, free: 18.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/9.534, allocations: 1.095 MB / 3.955 GB, free: 17.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001904/9.536, allocations: 407.6 kB / 3.955 GB, free: 17.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/9.537, allocations: 91.39 kB / 3.955 GB, free: 17.21 MB / 0.9792 GB Notification: Performance of SimCode: time 7.21e-07/9.537, allocations: 0 / 3.955 GB, free: 17.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.6232/10.16, allocations: 46.24 MB / 4 GB, free: 147.7 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)