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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.7531/0.7531, allocations: 143.4 MB / 158.3 MB, free: 5.645 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009961/0.000996, allocations: 181.1 kB / 191.5 MB, free: 5.652 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 447.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009309, allocations: 104.3 kB / 0.5188 GB, free: 1.117 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 274.2 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004081, allocations: 15.19 kB / 0.6929 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 82.8 MB / 0.7737 GB, free: 13.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.266/4.431, allocations: 1.876 GB / 2.65 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/4.431, allocations: 100.2 kB / 2.65 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.838/6.269, allocations: 0.6119 GB / 3.262 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/6.269, allocations: 0 / 3.262 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.953e-05/6.269, allocations: 29.44 kB / 3.262 GB, free: 143.5 MB / 0.7136 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.004504/6.273, allocations: 1.67 MB / 3.263 GB, free: 142 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/6.273, allocations: 12.03 kB / 3.263 GB, free: 142 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/6.276, allocations: 234.3 kB / 3.264 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/6.278, allocations: 1.022 MB / 3.265 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/6.278, allocations: 49 kB / 3.265 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/6.278, allocations: 56 kB / 3.265 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/6.279, allocations: 0.634 MB / 3.265 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/6.279, allocations: 0 / 3.265 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/6.279, allocations: 30.64 kB / 3.265 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/6.279, allocations: 17 kB / 3.265 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/6.281, allocations: 0.658 MB / 3.266 GB, free: 139.3 MB / 0.7136 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.004075/6.285, allocations: 2.718 MB / 3.269 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/6.286, allocations: 0.5907 MB / 3.269 GB, free: 135.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/6.286, allocations: 296 kB / 3.27 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/6.286, allocations: 38.5 kB / 3.27 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001011/6.287, allocations: 220.6 kB / 3.27 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 2.676e-06/6.287, allocations: 3.172 kB / 3.27 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.002104/6.289, allocations: 1.062 MB / 3.271 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/6.289, allocations: 62.7 kB / 3.271 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/6.291, allocations: 1.125 MB / 3.272 GB, free: 133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/6.291, allocations: 37.7 kB / 3.272 GB, free: 133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/6.291, allocations: 451.8 kB / 3.272 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/6.291, allocations: 148.5 kB / 3.273 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/6.291, allocations: 7.188 kB / 3.273 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/6.291, allocations: 322 kB / 3.273 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/6.292, allocations: 279.7 kB / 3.273 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/6.293, allocations: 0.4917 MB / 3.274 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/6.293, allocations: 338.2 kB / 3.274 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/6.293, allocations: 0 / 3.274 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001318/6.294, allocations: 0.7593 MB / 3.275 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/6.294, allocations: 103.1 kB / 3.275 GB, free: 130 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/6.294, allocations: 0 / 3.275 GB, free: 130 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/6.295, allocations: 0 / 3.275 GB, free: 130 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/6.295, allocations: 138.4 kB / 3.275 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/6.295, allocations: 0 / 3.275 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/6.297, allocations: 122.1 kB / 3.275 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/6.297, allocations: 35.95 kB / 3.275 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/6.297, allocations: 8 kB / 3.275 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/6.298, allocations: 0.636 MB / 3.276 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/6.298, allocations: 0 / 3.276 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/6.298, allocations: 0 / 3.276 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/6.299, allocations: 139.8 kB / 3.276 GB, free: 129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/6.299, allocations: 3.938 kB / 3.276 GB, free: 129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/6.3, allocations: 115 kB / 3.276 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/6.3, allocations: 27.97 kB / 3.276 GB, free: 128.8 MB / 0.7136 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.0004691/6.301, allocations: 333 kB / 3.276 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/6.301, allocations: 102.7 kB / 3.276 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/6.302, allocations: 0.8577 MB / 3.277 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/6.302, allocations: 8 kB / 3.277 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/6.302, allocations: 4 kB / 3.277 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/6.302, allocations: 0 / 3.277 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/6.305, allocations: 2.018 MB / 3.279 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/6.305, allocations: 4.062 kB / 3.279 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/6.306, allocations: 119.8 kB / 3.279 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/6.306, allocations: 7.953 kB / 3.279 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/6.306, allocations: 16 kB / 3.279 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/6.306, allocations: 7.984 kB / 3.279 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/6.306, allocations: 4 kB / 3.279 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/6.308, allocations: 1.395 MB / 3.281 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/6.308, allocations: 303.6 kB / 3.281 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/6.309, allocations: 18.94 kB / 3.281 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/6.31, allocations: 79.91 kB / 3.281 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/6.31, allocations: 47.84 kB / 3.281 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/6.31, allocations: 23.98 kB / 3.281 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001274/6.311, allocations: 0.8895 MB / 3.282 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/6.311, allocations: 4 kB / 3.282 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001875/6.313, allocations: 0.5503 MB / 3.283 GB, free: 121.8 MB / 0.7136 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.00246/6.315, allocations: 1.631 MB / 3.284 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001858/6.317, allocations: 0.9592 MB / 3.285 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/6.317, allocations: 0 / 3.285 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/6.318, allocations: 343.8 kB / 3.285 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/6.32, allocations: 450.5 kB / 3.286 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/6.323, allocations: 1.931 MB / 3.288 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/6.323, allocations: 1.061 MB / 3.289 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001285/6.324, allocations: 290.4 kB / 3.289 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/6.325, allocations: 99.38 kB / 3.289 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/6.325, allocations: 0 / 3.289 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.04819/6.373, allocations: 38.63 MB / 3.327 GB, free: 76.94 MB / 0.7136 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)