Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007881/0.007881, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8552/0.8552, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.838/1.838, allocations: 223.2 MB / 403.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.0009896, allocations: 88.61 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004572, allocations: 12 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5132, allocations: 81.57 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.2/5.714, allocations: 1.878 GB / 2.522 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.714, allocations: 95.94 kB / 2.522 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.196/7.91, allocations: 0.6118 GB / 3.134 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.864e-06/7.91, allocations: 0 / 3.134 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.927e-05/7.91, allocations: 24 kB / 3.134 GB, free: 29.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004423/7.915, allocations: 1.67 MB / 3.136 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/7.915, allocations: 8.031 kB / 3.136 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/7.917, allocations: 238.4 kB / 3.136 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/7.919, allocations: 1.031 MB / 3.137 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/7.919, allocations: 45 kB / 3.137 GB, free: 26.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/7.919, allocations: 59.91 kB / 3.137 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/7.921, allocations: 0.6309 MB / 3.138 GB, free: 26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/7.921, allocations: 0 / 3.138 GB, free: 26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/7.921, allocations: 24 kB / 3.138 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/7.921, allocations: 17 kB / 3.138 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/7.922, allocations: 0.6559 MB / 3.138 GB, free: 25.31 MB / 0.6823 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.003905/7.926, allocations: 2.732 MB / 3.141 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/7.927, allocations: 0.5893 MB / 3.142 GB, free: 21.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/7.927, allocations: 287.3 kB / 3.142 GB, free: 21.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/7.927, allocations: 42.56 kB / 3.142 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009012/7.928, allocations: 223.4 kB / 3.142 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.374e-06/7.928, allocations: 4 kB / 3.142 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002046/7.93, allocations: 1.063 MB / 3.143 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/7.93, allocations: 55.41 kB / 3.143 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/7.932, allocations: 1.121 MB / 3.144 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/7.932, allocations: 45.7 kB / 3.144 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/7.932, allocations: 442.5 kB / 3.145 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/7.932, allocations: 149.8 kB / 3.145 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/7.932, allocations: 8 kB / 3.145 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/7.932, allocations: 326 kB / 3.145 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/7.933, allocations: 276.5 kB / 3.145 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/7.933, allocations: 0.502 MB / 3.146 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/7.934, allocations: 331.6 kB / 3.146 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/7.934, allocations: 0 / 3.146 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00134/7.935, allocations: 0.7659 MB / 3.147 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/7.935, allocations: 99.11 kB / 3.147 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/7.935, allocations: 0 / 3.147 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/7.935, allocations: 0 / 3.147 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/7.936, allocations: 139.8 kB / 3.147 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/7.936, allocations: 0 / 3.147 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/7.938, allocations: 119.8 kB / 3.147 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/7.938, allocations: 35.97 kB / 3.147 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/7.938, allocations: 0 / 3.147 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/7.939, allocations: 0.6401 MB / 3.148 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/7.939, allocations: 0 / 3.148 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/7.939, allocations: 0 / 3.148 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/7.939, allocations: 135.8 kB / 3.148 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/7.939, allocations: 7.938 kB / 3.148 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/7.941, allocations: 115.8 kB / 3.148 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/7.941, allocations: 31.97 kB / 3.148 GB, free: 14.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005989/7.941, allocations: 325 kB / 3.149 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/7.942, allocations: 106.6 kB / 3.149 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/7.943, allocations: 0.8538 MB / 3.15 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/7.943, allocations: 8 kB / 3.15 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/7.943, allocations: 0 / 3.15 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/7.943, allocations: 7.984 kB / 3.15 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/7.946, allocations: 2.004 MB / 3.151 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/7.946, allocations: 4 kB / 3.151 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/7.947, allocations: 119.8 kB / 3.152 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/7.947, allocations: 7.984 kB / 3.152 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/7.947, allocations: 16 kB / 3.152 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/7.947, allocations: 4 kB / 3.152 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/7.947, allocations: 12.12 kB / 3.152 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/7.949, allocations: 1.395 MB / 3.153 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/7.95, allocations: 303.7 kB / 3.153 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/7.95, allocations: 16 kB / 3.153 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/7.951, allocations: 83.81 kB / 3.153 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/7.951, allocations: 47.88 kB / 3.153 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/7.951, allocations: 27.98 kB / 3.153 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001363/7.952, allocations: 0.8817 MB / 3.154 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/7.952, allocations: 0 / 3.154 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001956/7.954, allocations: 0.5619 MB / 3.155 GB, free: 7.723 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/7.957, allocations: 1.636 MB / 3.156 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001923/7.959, allocations: 0.9553 MB / 3.157 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/7.959, allocations: 0 / 3.157 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/7.959, allocations: 347.6 kB / 3.158 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/7.962, allocations: 445.9 kB / 3.158 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/7.965, allocations: 1.928 MB / 3.16 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/7.965, allocations: 1.061 MB / 3.161 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001475/7.967, allocations: 287 kB / 3.161 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/7.967, allocations: 99.38 kB / 3.161 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/7.967, allocations: 3.938 kB / 3.161 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of Templates: time 0.4693/8.437, allocations: 38.59 MB / 3.199 GB, free: 118.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)