Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01154/0.01154, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8473/0.8473, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.001024/0.001024, allocations: 94.03 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 11.98 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4811, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.734, allocations: 1.879 GB / 2.528 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/5.734, allocations: 95.8 kB / 2.528 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.812/8.547, allocations: 0.6118 GB / 3.14 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.806e-06/8.547, allocations: 3.656 kB / 3.14 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.143e-05/8.547, allocations: 29.64 kB / 3.14 GB, free: 124.5 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.004635/8.552, allocations: 1.657 MB / 3.142 GB, free: 124 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/8.552, allocations: 10.75 kB / 3.142 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/8.554, allocations: 238.7 kB / 3.142 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/8.556, allocations: 1.028 MB / 3.143 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/8.556, allocations: 50.38 kB / 3.143 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/8.556, allocations: 59.38 kB / 3.143 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/8.558, allocations: 0.6264 MB / 3.144 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/8.558, allocations: 1.219 kB / 3.144 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/8.558, allocations: 18.62 kB / 3.144 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/8.558, allocations: 16.88 kB / 3.144 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/8.559, allocations: 0.6628 MB / 3.144 GB, free: 123.6 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.004157/8.563, allocations: 2.728 MB / 3.147 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/8.564, allocations: 0.5863 MB / 3.147 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/8.564, allocations: 299.8 kB / 3.148 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/8.564, allocations: 34.19 kB / 3.148 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009791/8.565, allocations: 222.3 kB / 3.148 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.166e-06/8.565, allocations: 0 / 3.148 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002162/8.568, allocations: 1.068 MB / 3.149 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/8.568, allocations: 56.81 kB / 3.149 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/8.569, allocations: 1.124 MB / 3.15 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/8.569, allocations: 38.92 kB / 3.15 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/8.57, allocations: 444.8 kB / 3.151 GB, free: 122 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/8.57, allocations: 152.4 kB / 3.151 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/8.57, allocations: 10.22 kB / 3.151 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/8.57, allocations: 324 kB / 3.151 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/8.57, allocations: 275.7 kB / 3.151 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/8.571, allocations: 0.4999 MB / 3.152 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/8.572, allocations: 335.3 kB / 3.152 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/8.572, allocations: 3.938 kB / 3.152 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001355/8.573, allocations: 0.7595 MB / 3.153 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/8.573, allocations: 98.64 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/8.573, allocations: 0 / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/8.573, allocations: 5.531 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/8.574, allocations: 136.1 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/8.574, allocations: 7.516 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/8.575, allocations: 123.7 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/8.575, allocations: 27.86 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/8.575, allocations: 4.562 kB / 3.153 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/8.576, allocations: 0.6384 MB / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/8.576, allocations: 0 / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/8.577, allocations: 6.094 kB / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/8.577, allocations: 131 kB / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/8.577, allocations: 7.766 kB / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/8.578, allocations: 116.5 kB / 3.154 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/8.579, allocations: 24.92 kB / 3.154 GB, free: 121.2 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.0004686/8.579, allocations: 337 kB / 3.155 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/8.579, allocations: 106.5 kB / 3.155 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/8.581, allocations: 0.8414 MB / 3.155 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/8.581, allocations: 3.562 kB / 3.155 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/8.581, allocations: 0 / 3.155 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/8.581, allocations: 6.047 kB / 3.155 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/8.584, allocations: 2.024 MB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/8.584, allocations: 3.656 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/8.584, allocations: 122.2 kB / 3.158 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/8.584, allocations: 7.094 kB / 3.158 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/8.584, allocations: 12.94 kB / 3.158 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/8.584, allocations: 3.781 kB / 3.158 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/8.584, allocations: 11.52 kB / 3.158 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/8.586, allocations: 1.391 MB / 3.159 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/8.587, allocations: 306.5 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/8.587, allocations: 14.38 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/8.588, allocations: 90.14 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/8.588, allocations: 41.56 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/8.588, allocations: 27.28 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001359/8.59, allocations: 0.8957 MB / 3.16 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/8.59, allocations: 0 / 3.16 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001861/8.592, allocations: 0.5501 MB / 3.161 GB, free: 119.8 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.00237/8.594, allocations: 1.632 MB / 3.162 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001781/8.596, allocations: 0.9589 MB / 3.163 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/8.596, allocations: 0 / 3.163 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/8.596, allocations: 347.2 kB / 3.164 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/8.599, allocations: 452.2 kB / 3.164 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/8.602, allocations: 1.925 MB / 3.166 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/8.602, allocations: 1.066 MB / 3.167 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001394/8.604, allocations: 289.1 kB / 3.167 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/8.604, allocations: 100.2 kB / 3.167 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/8.604, allocations: 0 / 3.167 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.05764/8.662, allocations: 38.61 MB / 3.205 GB, free: 116.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)