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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7402/0.7402, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 182.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 86.39 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001631/0.001631, allocations: 268 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005691/0.0005695, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3942, allocations: 79.28 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.287/4.682, allocations: 2.054 GB / 2.793 GB, free: 153.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/4.682, allocations: 91.95 kB / 2.793 GB, free: 153.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/6.433, allocations: 0.6044 GB / 3.398 GB, free: 40.01 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.943e-06/6.433, allocations: 0 / 3.398 GB, free: 40.01 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001585/6.434, allocations: 36.11 kB / 3.398 GB, free: 39.98 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00466/6.438, allocations: 1.701 MB / 3.399 GB, free: 38.22 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/6.438, allocations: 15.97 kB / 3.399 GB, free: 38.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/6.441, allocations: 235.3 kB / 3.4 GB, free: 37.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/6.443, allocations: 1.118 MB / 3.401 GB, free: 36.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/6.443, allocations: 41.38 kB / 3.401 GB, free: 36.76 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/6.443, allocations: 64.38 kB / 3.401 GB, free: 36.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/6.445, allocations: 0.7197 MB / 3.401 GB, free: 35.96 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/6.445, allocations: 7.875 kB / 3.401 GB, free: 35.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/6.445, allocations: 23.94 kB / 3.401 GB, free: 35.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/6.445, allocations: 12 kB / 3.401 GB, free: 35.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/6.446, allocations: 0.6558 MB / 3.402 GB, free: 35.26 MB / 0.6667 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.004377/6.45, allocations: 2.733 MB / 3.405 GB, free: 32.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/6.451, allocations: 0.5764 MB / 3.405 GB, free: 31.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/6.452, allocations: 368.6 kB / 3.406 GB, free: 31.44 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/6.452, allocations: 287.5 kB / 3.406 GB, free: 31.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/6.452, allocations: 50.52 kB / 3.406 GB, free: 31.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/6.453, allocations: 219.5 kB / 3.406 GB, free: 30.83 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 6.282e-06/6.453, allocations: 0 / 3.406 GB, free: 30.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43): time 0.002193/6.456, allocations: 1.066 MB / 3.407 GB, free: 29.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/6.456, allocations: 136.5 kB / 3.407 GB, free: 29.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/6.458, allocations: 1.245 MB / 3.409 GB, free: 28.33 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/6.458, allocations: 41.7 kB / 3.409 GB, free: 28.28 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/6.458, allocations: 454.5 kB / 3.409 GB, free: 27.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/6.458, allocations: 153.8 kB / 3.409 GB, free: 27.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/6.458, allocations: 4 kB / 3.409 GB, free: 27.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/6.458, allocations: 322 kB / 3.41 GB, free: 27.36 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/6.459, allocations: 288.7 kB / 3.41 GB, free: 27.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/6.459, allocations: 0.5346 MB / 3.41 GB, free: 26.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/6.46, allocations: 0.6214 MB / 3.411 GB, free: 25.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/6.46, allocations: 0 / 3.411 GB, free: 25.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00147/6.462, allocations: 0.7915 MB / 3.412 GB, free: 25.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/6.462, allocations: 111.2 kB / 3.412 GB, free: 24.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/6.462, allocations: 0 / 3.412 GB, free: 24.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/6.462, allocations: 4 kB / 3.412 GB, free: 24.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/6.463, allocations: 127.8 kB / 3.412 GB, free: 24.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/6.463, allocations: 4 kB / 3.412 GB, free: 24.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/6.464, allocations: 115.9 kB / 3.412 GB, free: 24.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/6.464, allocations: 27.97 kB / 3.412 GB, free: 24.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/6.464, allocations: 4 kB / 3.412 GB, free: 24.63 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/6.465, allocations: 0.6661 MB / 3.413 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/6.465, allocations: 3.984 kB / 3.413 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/6.465, allocations: 4 kB / 3.413 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/6.466, allocations: 123.8 kB / 3.413 GB, free: 23.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/6.466, allocations: 0 / 3.413 GB, free: 23.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/6.467, allocations: 127.7 kB / 3.413 GB, free: 23.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/6.467, allocations: 35.91 kB / 3.413 GB, free: 23.68 MB / 0.6667 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0005221/6.468, allocations: 337.2 kB / 3.413 GB, free: 23.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/6.468, allocations: 102.8 kB / 3.413 GB, free: 23.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/6.47, allocations: 0.8462 MB / 3.414 GB, free: 22.38 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/6.47, allocations: 7.984 kB / 3.414 GB, free: 22.37 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/6.47, allocations: 0 / 3.414 GB, free: 22.37 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/6.47, allocations: 3.984 kB / 3.414 GB, free: 22.37 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/6.473, allocations: 2.001 MB / 3.416 GB, free: 20.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/6.473, allocations: 0 / 3.416 GB, free: 20.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/6.474, allocations: 119.8 kB / 3.416 GB, free: 20.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/6.474, allocations: 4 kB / 3.416 GB, free: 20.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/6.474, allocations: 16 kB / 3.416 GB, free: 20.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/6.474, allocations: 7.984 kB / 3.416 GB, free: 20.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/6.474, allocations: 12.2 kB / 3.416 GB, free: 20.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/6.476, allocations: 1.272 MB / 3.418 GB, free: 18.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/6.476, allocations: 299.6 kB / 3.418 GB, free: 18.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/6.476, allocations: 12 kB / 3.418 GB, free: 18.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/6.477, allocations: 87.81 kB / 3.418 GB, free: 18.41 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/6.477, allocations: 55.81 kB / 3.418 GB, free: 18.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/6.478, allocations: 24 kB / 3.418 GB, free: 18.33 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001317/6.479, allocations: 0.8901 MB / 3.419 GB, free: 17.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/6.479, allocations: 0 / 3.419 GB, free: 17.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002002/6.481, allocations: 0.6048 MB / 3.42 GB, free: 16.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[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 (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.002282/6.483, allocations: 1.674 MB / 3.421 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001899/6.485, allocations: 1.05 MB / 3.422 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/6.485, allocations: 4 kB / 3.422 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/6.486, allocations: 344.4 kB / 3.423 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/6.488, allocations: 478.6 kB / 3.423 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/6.491, allocations: 1.959 MB / 3.425 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/6.492, allocations: 1.049 MB / 3.426 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001316/6.493, allocations: 295.2 kB / 3.426 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/6.493, allocations: 99.38 kB / 3.426 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of SimCode: time 3.7e-07/6.493, allocations: 0 / 3.426 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of Templates: time 0.336/6.829, allocations: 40.23 MB / 3.466 GB, free: 123 MB / 0.6823 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)