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.001436/0.001436, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.474/1.474, allocations: 221.3 MB / 396.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009191, allocations: 98.59 kB / 478.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.971e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.464/4.629, allocations: 1.878 GB / 2.513 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/4.629, allocations: 95 kB / 2.513 GB, free: 44.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.296/6.925, allocations: 0.6113 GB / 3.124 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/6.926, allocations: 3.062 kB / 3.124 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000165/6.926, allocations: 20.84 kB / 3.124 GB, free: 125.2 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.003762/6.929, allocations: 1.287 MB / 3.126 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/6.93, allocations: 9.812 kB / 3.126 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/6.932, allocations: 233.3 kB / 3.126 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/6.935, allocations: 0.9975 MB / 3.127 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/6.935, allocations: 43.69 kB / 3.127 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/6.936, allocations: 61.47 kB / 3.127 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/6.937, allocations: 0.5779 MB / 3.128 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/6.937, allocations: 0 / 3.128 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/6.937, allocations: 21.2 kB / 3.128 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/6.938, allocations: 22.88 kB / 3.128 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/6.938, allocations: 0.557 MB / 3.128 GB, free: 124.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004522/6.943, allocations: 2.736 MB / 3.131 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/6.944, allocations: 0.5187 MB / 3.131 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/6.944, allocations: 319 kB / 3.132 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/6.945, allocations: 294.1 kB / 3.132 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/6.945, allocations: 34.12 kB / 3.132 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/6.946, allocations: 228.2 kB / 3.132 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/6.946, allocations: 0 / 3.132 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001413/6.947, allocations: 0.6915 MB / 3.133 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/6.947, allocations: 55.25 kB / 3.133 GB, free: 123 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/6.949, allocations: 1.091 MB / 3.134 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/6.949, allocations: 36.92 kB / 3.134 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/6.949, allocations: 442.8 kB / 3.134 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/6.949, allocations: 153.6 kB / 3.135 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/6.95, allocations: 8.469 kB / 3.135 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001006/6.95, allocations: 324.4 kB / 3.135 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/6.95, allocations: 222 kB / 3.135 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/6.951, allocations: 463.7 kB / 3.136 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/6.951, allocations: 286.4 kB / 3.136 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/6.951, allocations: 0 / 3.136 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001143/6.952, allocations: 0.6613 MB / 3.136 GB, free: 122 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/6.952, allocations: 101.8 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/6.952, allocations: 0 / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/6.952, allocations: 3.953 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/6.953, allocations: 137.6 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/6.953, allocations: 0 / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/6.955, allocations: 125.9 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/6.955, allocations: 31.39 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/6.955, allocations: 3.219 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008248/6.955, allocations: 0.5409 MB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/6.955, allocations: 9.594 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/6.955, allocations: 0 / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/6.956, allocations: 131.8 kB / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/6.956, allocations: 0 / 3.137 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/6.957, allocations: 119.8 kB / 3.138 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/6.957, allocations: 33.11 kB / 3.138 GB, free: 121.9 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 () * 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.0001509/6.958, allocations: 140.4 kB / 3.138 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/6.958, allocations: 104.4 kB / 3.138 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/6.959, allocations: 0.7528 MB / 3.139 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/6.959, allocations: 7.219 kB / 3.139 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/6.959, allocations: 3.844 kB / 3.139 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/6.959, allocations: 1.688 kB / 3.139 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/6.961, allocations: 1.908 MB / 3.14 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/6.962, allocations: 3.625 kB / 3.14 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/6.962, allocations: 118.8 kB / 3.141 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/6.962, allocations: 6.25 kB / 3.141 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/6.962, allocations: 17.89 kB / 3.141 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/6.962, allocations: 10.39 kB / 3.141 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/6.962, allocations: 3.812 kB / 3.141 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/6.964, allocations: 1.25 MB / 3.142 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/6.964, allocations: 303.2 kB / 3.142 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/6.964, allocations: 19 kB / 3.142 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/6.965, allocations: 79.86 kB / 3.142 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/6.965, allocations: 50.14 kB / 3.142 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/6.965, allocations: 20.75 kB / 3.142 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001013/6.966, allocations: 0.8622 MB / 3.143 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/6.966, allocations: 3.562 kB / 3.143 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001567/6.968, allocations: 0.5518 MB / 3.144 GB, free: 120.6 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 () * 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.001818/6.97, allocations: 1.617 MB / 3.145 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001237/6.971, allocations: 0.8633 MB / 3.146 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/6.971, allocations: 0 / 3.146 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/6.971, allocations: 293.7 kB / 3.146 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/6.974, allocations: 459.6 kB / 3.147 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/6.975, allocations: 1.281 MB / 3.148 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/6.976, allocations: 1.061 MB / 3.149 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001639/6.977, allocations: 419.1 kB / 3.15 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/6.978, allocations: 68.66 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/6.978, allocations: 0 / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.05203/7.03, allocations: 44.38 MB / 3.193 GB, free: 117.6 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)