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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001282/0.001282, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4848/0.4848, allocations: 92 MB / 108.5 MB, free: 13.07 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.486/1.486, allocations: 223.2 MB / 354.3 MB, free: 12.14 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.0008952/0.0008949, allocations: 99.2 kB / 427.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 8 kB / 0.4982 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 72.32 MB / 0.5689 GB, free: 1.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.627/4.79, allocations: 1.869 GB / 2.438 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/4.79, allocations: 94.69 kB / 2.438 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.151/6.941, allocations: 0.6119 GB / 3.05 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/6.941, allocations: 0 / 3.05 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.022e-05/6.941, allocations: 31.98 kB / 3.05 GB, free: 54.23 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.00446/6.946, allocations: 1.664 MB / 3.051 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/6.946, allocations: 8.031 kB / 3.051 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/6.948, allocations: 234.4 kB / 3.052 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/6.95, allocations: 1.031 MB / 3.053 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/6.95, allocations: 45 kB / 3.053 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/6.95, allocations: 67.92 kB / 3.053 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/6.951, allocations: 0.6348 MB / 3.053 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/6.952, allocations: 0 / 3.053 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/6.952, allocations: 20 kB / 3.053 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/6.952, allocations: 20.98 kB / 3.053 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/6.953, allocations: 0.6559 MB / 3.054 GB, free: 49.75 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.003962/6.957, allocations: 2.728 MB / 3.057 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/6.958, allocations: 0.5843 MB / 3.057 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/6.958, allocations: 292.3 kB / 3.058 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/6.958, allocations: 38.56 kB / 3.058 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001006/6.959, allocations: 223.4 kB / 3.058 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/6.959, allocations: 0 / 3.058 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002075/6.961, allocations: 1.056 MB / 3.059 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/6.961, allocations: 59.39 kB / 3.059 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/6.963, allocations: 1.121 MB / 3.06 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/6.963, allocations: 41.7 kB / 3.06 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/6.963, allocations: 450.5 kB / 3.061 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/6.963, allocations: 145.8 kB / 3.061 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/6.963, allocations: 8 kB / 3.061 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/6.963, allocations: 325.9 kB / 3.061 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/6.964, allocations: 276.5 kB / 3.061 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/6.965, allocations: 0.4984 MB / 3.062 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/6.965, allocations: 329.4 kB / 3.062 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/6.965, allocations: 4 kB / 3.062 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001262/6.966, allocations: 0.7615 MB / 3.063 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/6.966, allocations: 95.11 kB / 3.063 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/6.966, allocations: 8.094 kB / 3.063 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/6.966, allocations: 3.938 kB / 3.063 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/6.967, allocations: 135.8 kB / 3.063 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/6.967, allocations: 4 kB / 3.063 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/6.969, allocations: 127.7 kB / 3.063 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/6.969, allocations: 27.97 kB / 3.063 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/6.969, allocations: 5.562 kB / 3.063 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/6.97, allocations: 0.6323 MB / 3.064 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/6.97, allocations: 3.984 kB / 3.064 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/6.97, allocations: 4 kB / 3.064 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/6.97, allocations: 139.8 kB / 3.064 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/6.97, allocations: 4 kB / 3.064 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/6.972, allocations: 115.8 kB / 3.064 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/6.972, allocations: 31.95 kB / 3.064 GB, free: 39.17 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.0005001/6.972, allocations: 329 kB / 3.064 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/6.972, allocations: 110.6 kB / 3.065 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/6.974, allocations: 0.8461 MB / 3.065 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/6.974, allocations: 4 kB / 3.065 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.974, allocations: 0 / 3.065 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/6.974, allocations: 7.984 kB / 3.065 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/6.977, allocations: 2.011 MB / 3.067 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/6.977, allocations: 4 kB / 3.067 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/6.977, allocations: 119.8 kB / 3.067 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/6.977, allocations: 4.281 kB / 3.067 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/6.977, allocations: 23.98 kB / 3.067 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/6.977, allocations: 7.938 kB / 3.067 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/6.977, allocations: 3.938 kB / 3.067 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/6.979, allocations: 1.391 MB / 3.069 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/6.98, allocations: 307.6 kB / 3.069 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/6.98, allocations: 19.98 kB / 3.069 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/6.981, allocations: 83.84 kB / 3.069 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/6.981, allocations: 43.94 kB / 3.069 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/6.981, allocations: 24 kB / 3.069 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001273/6.982, allocations: 0.8856 MB / 3.07 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/6.982, allocations: 0 / 3.07 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001986/6.984, allocations: 0.5542 MB / 3.071 GB, free: 32.18 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.002388/6.987, allocations: 1.625 MB / 3.072 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00184/6.989, allocations: 0.9642 MB / 3.073 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/6.989, allocations: 0 / 3.073 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005365/6.989, allocations: 344.1 kB / 3.074 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/6.992, allocations: 454.9 kB / 3.074 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/6.994, allocations: 1.931 MB / 3.076 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/6.995, allocations: 1.065 MB / 3.077 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001482/6.996, allocations: 287.1 kB / 3.077 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/6.997, allocations: 103.4 kB / 3.077 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.613e-06/6.997, allocations: 0 / 3.077 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.0567/7.054, allocations: 38.61 MB / 3.115 GB, free: 2.848 MB / 0.6198 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)