Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0008276/0.0008276, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001011/0.001011, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 252 MB / 0.5102 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005763/0.0005766, allocations: 16 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5504, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1946/0.7451, allocations: 173 MB / 0.8971 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.7587, allocations: 7.231 MB / 0.9042 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.7609, allocations: 31.69 kB / 0.9042 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.7625, allocations: 365.6 kB / 0.9045 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.766, allocations: 1.127 MB / 0.9056 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.7723, allocations: 2.028 MB / 0.9076 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004353/0.7767, allocations: 2.412 MB / 0.91 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5245/1.301, allocations: 0.8628 MB / 0.9108 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/1.304, allocations: 0.8146 MB / 0.9116 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.305, allocations: 0.7781 MB / 0.9124 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/1.305, allocations: 58.38 kB / 0.9124 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/1.308, allocations: 0.9182 MB / 0.9133 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/1.308, allocations: 333.6 kB / 0.9136 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/1.309, allocations: 223.8 kB / 0.9139 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/1.311, allocations: 1.551 MB / 0.9154 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.311, allocations: 0 / 0.9154 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.885e-06/1.311, allocations: 3.688 kB / 0.9154 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.885e-05/1.311, allocations: 2.906 kB / 0.9154 GB, free: 6.539 MB / 0.7169 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.004738/1.316, allocations: 1.539 MB / 0.9169 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.316, allocations: 8.375 kB / 0.9169 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/1.317, allocations: 191.7 kB / 0.9171 GB, free: 21.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/1.319, allocations: 1.01 MB / 0.9181 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/1.319, allocations: 54.3 kB / 0.9181 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.319, allocations: 64.42 kB / 0.9182 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/1.32, allocations: 0.6987 MB / 0.9188 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.321, allocations: 4 kB / 0.9189 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/1.321, allocations: 19.97 kB / 0.9189 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/1.321, allocations: 12.05 kB / 0.9189 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.322, allocations: 0.6349 MB / 0.9195 GB, free: 21.29 MB / 0.7325 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.004809/1.327, allocations: 2.682 MB / 0.9221 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.328, allocations: 0.5682 MB / 0.9227 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/1.329, allocations: 359.8 kB / 0.923 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/1.329, allocations: 290.7 kB / 0.9233 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.329, allocations: 44.77 kB / 0.9233 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008408/1.33, allocations: 157.3 kB / 0.9235 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/1.33, allocations: 1.219 kB / 0.9235 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002147/1.332, allocations: 1.069 MB / 0.9245 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/1.332, allocations: 142.1 kB / 0.9247 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/1.334, allocations: 1.274 MB / 0.9259 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.696e-05/1.334, allocations: 40.2 kB / 0.926 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/1.335, allocations: 443.5 kB / 0.9264 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.335, allocations: 148 kB / 0.9265 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/1.335, allocations: 13.09 kB / 0.9265 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.335, allocations: 321.5 kB / 0.9268 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/1.336, allocations: 283.6 kB / 0.9271 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/1.336, allocations: 0.5226 MB / 0.9276 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/1.337, allocations: 340.7 kB / 0.9279 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.337, allocations: 0 / 0.9279 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00145/1.338, allocations: 0.8008 MB / 0.9287 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.338, allocations: 99.81 kB / 0.9288 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.338, allocations: 1.406 kB / 0.9288 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.338, allocations: 2.969 kB / 0.9288 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/1.339, allocations: 120.9 kB / 0.9289 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.339, allocations: 2.688 kB / 0.9289 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/1.34, allocations: 135 kB / 0.9291 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/1.341, allocations: 27.17 kB / 0.9291 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/1.341, allocations: 4.812 kB / 0.9291 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/1.342, allocations: 0.6631 MB / 0.9297 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.342, allocations: 1.219 kB / 0.9298 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/1.342, allocations: 2.25 kB / 0.9298 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.342, allocations: 128.6 kB / 0.9299 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.342, allocations: 1.219 kB / 0.9299 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.344, allocations: 125.8 kB / 0.93 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/1.344, allocations: 26.2 kB / 0.93 GB, free: 18.62 MB / 0.7325 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.0006633/1.345, allocations: 328.5 kB / 0.9303 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/1.345, allocations: 108.2 kB / 0.9304 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.347, allocations: 0.8366 MB / 0.9313 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.347, allocations: 13.48 kB / 0.9313 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.347, allocations: 4.562 kB / 0.9313 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/1.347, allocations: 0 / 0.9313 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/1.35, allocations: 1.971 MB / 0.9332 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.35, allocations: 2.938 kB / 0.9332 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/1.35, allocations: 115.3 kB / 0.9333 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.35, allocations: 6.438 kB / 0.9333 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/1.35, allocations: 20.44 kB / 0.9333 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.35, allocations: 6.438 kB / 0.9333 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.35, allocations: 2.906 kB / 0.9333 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.352, allocations: 1.279 MB / 0.9346 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/1.353, allocations: 287 kB / 0.9349 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.353, allocations: 25.7 kB / 0.9349 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/1.354, allocations: 76.61 kB / 0.935 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.354, allocations: 47.81 kB / 0.935 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/1.354, allocations: 21.3 kB / 0.935 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001462/1.355, allocations: 0.9182 MB / 0.9359 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/1.355, allocations: 0 / 0.9359 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001581/1.357, allocations: 449 kB / 0.9364 GB, free: 17.29 MB / 0.7325 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.0006081/1.358, allocations: 256.7 kB / 0.9366 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.359, allocations: 1.057 MB / 0.9376 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.359, allocations: 2.625 kB / 0.9376 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/1.36, allocations: 353.3 kB / 0.938 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.362, allocations: 488.3 kB / 0.9384 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/1.365, allocations: 1.973 MB / 0.9404 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/1.366, allocations: 1.054 MB / 0.9414 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001273/1.367, allocations: 298.8 kB / 0.9417 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/1.367, allocations: 101.7 kB / 0.9418 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.367, allocations: 0 / 0.9418 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.03513/1.402, allocations: 21.1 MB / 0.9624 GB, free: 9.887 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: