Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00568/0.00568, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 275 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9344/0.9344, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 13.31 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5357/0.7032, allocations: 184.9 MB / 0.8657 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006937/0.7101, allocations: 4.266 MB / 0.8699 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.7113, allocations: 22.78 kB / 0.8699 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.7125, allocations: 426.9 kB / 0.8703 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.7161, allocations: 1.462 MB / 0.8718 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.7191, allocations: 1.242 MB / 0.873 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.7218, allocations: 2.781 MB / 0.8757 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.723, allocations: 0.8998 MB / 0.8766 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.7243, allocations: 0.8233 MB / 0.8774 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.7252, allocations: 0.8146 MB / 0.8782 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.7254, allocations: 57.28 kB / 0.8782 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.7279, allocations: 1.371 MB / 0.8796 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.7283, allocations: 327.7 kB / 0.8799 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.7288, allocations: 0.5807 MB / 0.8804 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.7308, allocations: 1.95 MB / 0.8823 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7308, allocations: 0 / 0.8823 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7308, allocations: 3.938 kB / 0.8823 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.7309, allocations: 0 / 0.8823 GB, free: 5.887 MB / 0.5919 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.00371/0.7346, allocations: 1.497 MB / 0.8838 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7346, allocations: 12.03 kB / 0.8838 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.7355, allocations: 186.4 kB / 0.884 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.7371, allocations: 1.037 MB / 0.885 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.7372, allocations: 52.94 kB / 0.8851 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.7373, allocations: 67.94 kB / 0.8851 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.7385, allocations: 0.6193 MB / 0.8857 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.7386, allocations: 0 / 0.8857 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/0.7386, allocations: 20 kB / 0.8858 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.7387, allocations: 21 kB / 0.8858 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.74, allocations: 0.6519 MB / 0.8864 GB, free: 1.664 MB / 0.5919 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.003795/0.7438, allocations: 2.669 MB / 0.889 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7449, allocations: 0.5509 MB / 0.8896 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.7455, allocations: 369.3 kB / 0.8899 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.7458, allocations: 295.2 kB / 0.8902 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.7459, allocations: 38.56 kB / 0.8902 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007102/0.7466, allocations: 167.4 kB / 0.8904 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.7466, allocations: 0 / 0.8904 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002212/0.7488, allocations: 1.059 MB / 0.8914 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.7489, allocations: 55.41 kB / 0.8915 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.7508, allocations: 1.275 MB / 0.8927 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.7508, allocations: 41.64 kB / 0.8928 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.7512, allocations: 437.6 kB / 0.8932 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.7513, allocations: 145.8 kB / 0.8933 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.7514, allocations: 37.7 kB / 0.8933 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.7515, allocations: 322 kB / 0.8937 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.7521, allocations: 276.6 kB / 0.8939 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.7529, allocations: 0.4916 MB / 0.8944 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.7541, allocations: 0.6139 MB / 0.895 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7541, allocations: 0 / 0.895 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001511/0.7556, allocations: 0.765 MB / 0.8957 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.7557, allocations: 89.48 kB / 0.8958 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.7557, allocations: 3.984 kB / 0.8958 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7557, allocations: 11.94 kB / 0.8958 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.7564, allocations: 127.8 kB / 0.896 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7564, allocations: 0 / 0.896 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.7576, allocations: 121.7 kB / 0.8961 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.7577, allocations: 31.91 kB / 0.8961 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/0.7577, allocations: 0 / 0.8961 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.759, allocations: 0.6359 MB / 0.8967 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.759, allocations: 0 / 0.8967 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.759, allocations: 4 kB / 0.8967 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.7596, allocations: 127.8 kB / 0.8969 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.7596, allocations: 4 kB / 0.8969 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.7608, allocations: 127.9 kB / 0.897 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.7609, allocations: 19.98 kB / 0.897 GB, free: 6.449 MB / 0.6075 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003976/0.7613, allocations: 329.6 kB / 0.8973 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.7614, allocations: 106.6 kB / 0.8974 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.7632, allocations: 0.831 MB / 0.8982 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.7632, allocations: 11.98 kB / 0.8982 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7632, allocations: 0 / 0.8982 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.7632, allocations: 3.984 kB / 0.8982 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.7661, allocations: 1.976 MB / 0.9002 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7662, allocations: 0 / 0.9002 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.7667, allocations: 115.8 kB / 0.9003 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.7668, allocations: 8.281 kB / 0.9003 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.7668, allocations: 16 kB / 0.9003 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.7668, allocations: 7.938 kB / 0.9003 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7668, allocations: 7.938 kB / 0.9003 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.7689, allocations: 1.267 MB / 0.9016 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.7693, allocations: 295.6 kB / 0.9018 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.7694, allocations: 12 kB / 0.9019 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7705, allocations: 79.91 kB / 0.9019 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7706, allocations: 47.88 kB / 0.902 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.7706, allocations: 20 kB / 0.902 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001358/0.772, allocations: 0.9169 MB / 0.9029 GB, free: 248 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.772, allocations: 0 / 0.9029 GB, free: 248 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001068/0.7731, allocations: 407.4 kB / 0.9033 GB, free: 15.84 MB / 0.6231 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.7735, allocations: 217 kB / 0.9035 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.7755, allocations: 0.9784 MB / 0.9044 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7755, allocations: 0 / 0.9044 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.7762, allocations: 348.2 kB / 0.9048 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.7788, allocations: 466.8 kB / 0.9052 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.7813, allocations: 2.034 MB / 0.9072 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.7819, allocations: 1.042 MB / 0.9082 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00109/0.783, allocations: 291 kB / 0.9085 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7833, allocations: 99.38 kB / 0.9086 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.164e-06/0.7833, allocations: 0 / 0.9086 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.03265/0.816, allocations: 20.39 MB / 0.9285 GB, free: 6.203 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)