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.001089/0.001089, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4625/0.4625, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.381/1.381, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009829, allocations: 101.2 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.441e-05, allocations: 4 kB / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4421, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.777/5.219, allocations: 1.869 GB / 2.429 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/5.219, allocations: 98.94 kB / 2.429 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.521/7.74, allocations: 0.6113 GB / 3.041 GB, free: 95.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/7.74, allocations: 0 / 3.041 GB, free: 95.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.54e-05/7.741, allocations: 25.38 kB / 3.041 GB, free: 95.89 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.003205/7.744, allocations: 1.283 MB / 3.042 GB, free: 95.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/7.744, allocations: 13.86 kB / 3.042 GB, free: 95.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/7.746, allocations: 238.2 kB / 3.042 GB, free: 95.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/7.748, allocations: 0.9954 MB / 3.043 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/7.748, allocations: 47 kB / 3.043 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/7.748, allocations: 57.69 kB / 3.043 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/7.749, allocations: 0.5776 MB / 3.044 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/7.749, allocations: 1.062 kB / 3.044 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/7.749, allocations: 23.39 kB / 3.044 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/7.75, allocations: 19.94 kB / 3.044 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/7.75, allocations: 0.5592 MB / 3.044 GB, free: 95.09 MB / 0.6042 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.003594/7.754, allocations: 2.734 MB / 3.047 GB, free: 94.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/7.755, allocations: 0.5161 MB / 3.047 GB, free: 94.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/7.755, allocations: 318 kB / 3.048 GB, free: 94.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/7.755, allocations: 290.9 kB / 3.048 GB, free: 94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/7.755, allocations: 42.38 kB / 3.048 GB, free: 93.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008701/7.756, allocations: 223.7 kB / 3.048 GB, free: 93.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.296e-06/7.756, allocations: 0 / 3.048 GB, free: 93.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001227/7.758, allocations: 0.6898 MB / 3.049 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/7.758, allocations: 55.25 kB / 3.049 GB, free: 93.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/7.759, allocations: 1.085 MB / 3.05 GB, free: 93.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/7.759, allocations: 40.83 kB / 3.05 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/7.759, allocations: 442.2 kB / 3.051 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/7.759, allocations: 157.5 kB / 3.051 GB, free: 93.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/7.759, allocations: 7.062 kB / 3.051 GB, free: 93.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/7.759, allocations: 320 kB / 3.051 GB, free: 93.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/7.76, allocations: 230.3 kB / 3.051 GB, free: 93.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/7.76, allocations: 451.7 kB / 3.052 GB, free: 92.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/7.761, allocations: 286.8 kB / 3.052 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/7.761, allocations: 0 / 3.052 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009155/7.762, allocations: 0.6626 MB / 3.053 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/7.762, allocations: 110.5 kB / 3.053 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/7.762, allocations: 0 / 3.053 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/7.762, allocations: 2.5 kB / 3.053 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/7.762, allocations: 134 kB / 3.053 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/7.762, allocations: 0 / 3.053 GB, free: 92.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/7.763, allocations: 123.5 kB / 3.053 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/7.764, allocations: 26.66 kB / 3.053 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/7.764, allocations: 5 kB / 3.053 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007868/7.764, allocations: 0.5468 MB / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-06/7.764, allocations: 0 / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/7.764, allocations: 6.719 kB / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/7.765, allocations: 134.3 kB / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/7.765, allocations: 0 / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/7.766, allocations: 115.2 kB / 3.054 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/7.766, allocations: 26.52 kB / 3.054 GB, free: 92.7 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 () * 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.0001477/7.766, allocations: 139.7 kB / 3.054 GB, free: 92.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/7.766, allocations: 101.3 kB / 3.054 GB, free: 92.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/7.768, allocations: 0.7547 MB / 3.055 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/7.768, allocations: 3.312 kB / 3.055 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.768, allocations: 3.406 kB / 3.055 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/7.768, allocations: 3.891 kB / 3.055 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/7.77, allocations: 1.913 MB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/7.77, allocations: 7.672 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/7.771, allocations: 114 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/7.771, allocations: 14.33 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/7.771, allocations: 18.09 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/7.771, allocations: 7.719 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.771, allocations: 6.188 kB / 3.057 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/7.772, allocations: 1.251 MB / 3.058 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/7.773, allocations: 307.4 kB / 3.058 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/7.773, allocations: 12.12 kB / 3.058 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/7.774, allocations: 84.03 kB / 3.058 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/7.774, allocations: 44.78 kB / 3.058 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/7.774, allocations: 24.56 kB / 3.058 GB, free: 91.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001269/7.775, allocations: 0.8638 MB / 3.059 GB, free: 91.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/7.775, allocations: 0 / 3.059 GB, free: 91.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001717/7.777, allocations: 0.5524 MB / 3.06 GB, free: 91.38 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 () * 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.001985/7.779, allocations: 1.623 MB / 3.061 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001288/7.78, allocations: 0.86 MB / 3.062 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/7.78, allocations: 0.5625 kB / 3.062 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/7.781, allocations: 297.1 kB / 3.063 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/7.783, allocations: 446.1 kB / 3.063 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/7.785, allocations: 1.274 MB / 3.064 GB, free: 90.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/7.786, allocations: 1.076 MB / 3.065 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001649/7.787, allocations: 416 kB / 3.066 GB, free: 89.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/7.788, allocations: 72.34 kB / 3.066 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/7.788, allocations: 0 / 3.066 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.05465/7.842, allocations: 44.41 MB / 3.109 GB, free: 88.57 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)