Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008314/0.0008313, allocations: 172 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4475/0.4475, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 93.38 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003666, allocations: 8 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 71.02 MB / 0.5594 GB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.501/3.799, allocations: 1.867 GB / 2.427 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/3.8, allocations: 99.88 kB / 2.427 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/5.582, allocations: 0.61 GB / 3.037 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/5.582, allocations: 3.281 kB / 3.037 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001349/5.582, allocations: 27.98 kB / 3.037 GB, free: 38.87 MB / 0.6042 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.005028/5.587, allocations: 1.647 MB / 3.039 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/5.587, allocations: 8.031 kB / 3.039 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/5.59, allocations: 239.3 kB / 3.039 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/5.592, allocations: 1.071 MB / 3.04 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/5.592, allocations: 41.38 kB / 3.04 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/5.592, allocations: 60.38 kB / 3.04 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/5.594, allocations: 0.6315 MB / 3.04 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/5.594, allocations: 3.938 kB / 3.04 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/5.594, allocations: 20 kB / 3.041 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/5.594, allocations: 28.98 kB / 3.041 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/5.595, allocations: 0.6519 MB / 3.041 GB, free: 34.36 MB / 0.6042 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.00406/5.599, allocations: 2.732 MB / 3.044 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/5.6, allocations: 0.594 MB / 3.044 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/5.6, allocations: 364.6 kB / 3.045 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/5.601, allocations: 299.3 kB / 3.045 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/5.601, allocations: 34.52 kB / 3.045 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001/5.602, allocations: 223.5 kB / 3.045 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 4.739e-06/5.602, allocations: 0 / 3.045 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002231/5.604, allocations: 1.066 MB / 3.046 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/5.604, allocations: 55.41 kB / 3.046 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/5.606, allocations: 1.247 MB / 3.048 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/5.606, allocations: 41.69 kB / 3.048 GB, free: 27.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/5.606, allocations: 442.1 kB / 3.048 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/5.606, allocations: 149.8 kB / 3.048 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/5.606, allocations: 4 kB / 3.048 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.967e-05/5.606, allocations: 322 kB / 3.049 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/5.607, allocations: 276.6 kB / 3.049 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/5.608, allocations: 0.4995 MB / 3.049 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/5.609, allocations: 0.6115 MB / 3.05 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/5.609, allocations: 0 / 3.05 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001278/5.61, allocations: 0.7651 MB / 3.051 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/5.61, allocations: 95.67 kB / 3.051 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/5.61, allocations: 0 / 3.051 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/5.61, allocations: 8 kB / 3.051 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/5.611, allocations: 131.9 kB / 3.051 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/5.611, allocations: 7.938 kB / 3.051 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/5.612, allocations: 119.9 kB / 3.051 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/5.612, allocations: 31.95 kB / 3.051 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/5.612, allocations: 7.938 kB / 3.051 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/5.613, allocations: 0.6356 MB / 3.052 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/5.613, allocations: 0 / 3.052 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/5.613, allocations: 8 kB / 3.052 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/5.614, allocations: 131.8 kB / 3.052 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/5.614, allocations: 7.938 kB / 3.052 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/5.615, allocations: 119.7 kB / 3.052 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/5.615, allocations: 31.97 kB / 3.052 GB, free: 22.98 MB / 0.6042 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.0003853/5.615, allocations: 325 kB / 3.052 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/5.615, allocations: 102.8 kB / 3.052 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/5.617, allocations: 0.8577 MB / 3.053 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/5.617, allocations: 7.938 kB / 3.053 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/5.617, allocations: 0 / 3.053 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/5.617, allocations: 0 / 3.053 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/5.62, allocations: 2.008 MB / 3.055 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.62, allocations: 4 kB / 3.055 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/5.62, allocations: 120.1 kB / 3.055 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/5.62, allocations: 8 kB / 3.055 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/5.62, allocations: 15.98 kB / 3.055 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/5.62, allocations: 8 kB / 3.055 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/5.62, allocations: 3.938 kB / 3.055 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/5.622, allocations: 1.288 MB / 3.057 GB, free: 18.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/5.623, allocations: 303.6 kB / 3.057 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/5.623, allocations: 12 kB / 3.057 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/5.624, allocations: 87.89 kB / 3.057 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/5.624, allocations: 47.83 kB / 3.057 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/5.624, allocations: 23.98 kB / 3.057 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001197/5.625, allocations: 0.8895 MB / 3.058 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/5.625, allocations: 4 kB / 3.058 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001681/5.627, allocations: 0.5542 MB / 3.058 GB, free: 16.16 MB / 0.6042 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.002442/5.629, allocations: 1.626 MB / 3.06 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001703/5.631, allocations: 0.9568 MB / 3.061 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/5.631, allocations: 0 / 3.061 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/5.632, allocations: 352.1 kB / 3.061 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/5.634, allocations: 459.2 kB / 3.062 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/5.636, allocations: 1.938 MB / 3.064 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/5.637, allocations: 1.045 MB / 3.065 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001192/5.638, allocations: 287.1 kB / 3.065 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/5.638, allocations: 99.38 kB / 3.065 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/5.638, allocations: 3.938 kB / 3.065 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of Templates: time 0.3415/5.98, allocations: 38.91 MB / 3.103 GB, free: 100.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)