Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.4 MB / 304.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 183 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.6317 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008911/0.0008915, allocations: 108.1 kB / 0.7451 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 11.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.275/5.499, allocations: 2.084 GB / 3.064 GB, free: 231.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/5.5, allocations: 103.9 kB / 3.065 GB, free: 231.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.417/7.916, allocations: 0.6044 GB / 3.669 GB, free: 195.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/7.916, allocations: 0 / 3.669 GB, free: 195.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001265/7.917, allocations: 31.41 kB / 3.669 GB, free: 195.1 MB / 0.948 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.005378/7.922, allocations: 1.704 MB / 3.671 GB, free: 194.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/7.922, allocations: 9.469 kB / 3.671 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/7.925, allocations: 241.1 kB / 3.671 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/7.928, allocations: 1.109 MB / 3.672 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/7.928, allocations: 46.34 kB / 3.672 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/7.928, allocations: 63.47 kB / 3.672 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/7.929, allocations: 0.7193 MB / 3.673 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/7.929, allocations: 3.938 kB / 3.673 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/7.929, allocations: 24.94 kB / 3.673 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/7.929, allocations: 11.53 kB / 3.673 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/7.931, allocations: 0.6532 MB / 3.673 GB, free: 194.1 MB / 0.948 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.005358/7.936, allocations: 2.739 MB / 3.676 GB, free: 193.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/7.937, allocations: 0.581 MB / 3.677 GB, free: 193.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/7.938, allocations: 363.3 kB / 3.677 GB, free: 193.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/7.938, allocations: 286.7 kB / 3.677 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/7.938, allocations: 43.28 kB / 3.677 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/7.94, allocations: 222.5 kB / 3.678 GB, free: 193 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 5e-06/7.94, allocations: 2.844 kB / 3.678 GB, free: 193 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002555/7.942, allocations: 1.06 MB / 3.679 GB, free: 192.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/7.942, allocations: 138.6 kB / 3.679 GB, free: 192.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/7.944, allocations: 1.245 MB / 3.68 GB, free: 192.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/7.944, allocations: 45.52 kB / 3.68 GB, free: 192.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/7.945, allocations: 454.8 kB / 3.68 GB, free: 192.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/7.945, allocations: 149.7 kB / 3.681 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/7.945, allocations: 8.688 kB / 3.681 GB, free: 192.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/7.945, allocations: 321.8 kB / 3.681 GB, free: 192 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/7.946, allocations: 288.9 kB / 3.681 GB, free: 192 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/7.946, allocations: 0.5283 MB / 3.682 GB, free: 191.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/7.948, allocations: 0.6275 MB / 3.682 GB, free: 191.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/7.948, allocations: 3.188 kB / 3.682 GB, free: 191.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001662/7.949, allocations: 0.7948 MB / 3.683 GB, free: 191.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/7.95, allocations: 99.14 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/7.95, allocations: 3.438 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/7.95, allocations: 0 / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/7.95, allocations: 128.1 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.95, allocations: 5.438 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/7.952, allocations: 119.2 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/7.952, allocations: 33.2 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/7.952, allocations: 7.25 kB / 3.683 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/7.953, allocations: 0.6644 MB / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/7.953, allocations: 7.203 kB / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/7.953, allocations: 0 / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/7.954, allocations: 127.4 kB / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/7.954, allocations: 2.953 kB / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/7.955, allocations: 120.2 kB / 3.684 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/7.955, allocations: 30.06 kB / 3.684 GB, free: 191.6 MB / 0.948 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.0005753/7.956, allocations: 336.2 kB / 3.685 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/7.956, allocations: 102.4 kB / 3.685 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/7.958, allocations: 0.8465 MB / 3.686 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/7.958, allocations: 5.625 kB / 3.686 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/7.958, allocations: 1.531 kB / 3.686 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/7.958, allocations: 3.797 kB / 3.686 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/7.961, allocations: 2.002 MB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/7.961, allocations: 3.125 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/7.962, allocations: 112.8 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/7.962, allocations: 3.906 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/7.962, allocations: 19.2 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/7.962, allocations: 7.906 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/7.962, allocations: 6.375 kB / 3.688 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/7.964, allocations: 1.275 MB / 3.689 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/7.965, allocations: 302 kB / 3.689 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/7.965, allocations: 12.19 kB / 3.689 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/7.966, allocations: 91.33 kB / 3.689 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/7.966, allocations: 46.53 kB / 3.689 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/7.966, allocations: 23.16 kB / 3.689 GB, free: 190.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00172/7.968, allocations: 0.8968 MB / 3.69 GB, free: 190.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/7.968, allocations: 0 / 3.69 GB, free: 190.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002479/7.971, allocations: 0.6014 MB / 3.691 GB, free: 190.3 MB / 0.948 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.00289/7.973, allocations: 1.678 MB / 3.693 GB, free: 189.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002466/7.976, allocations: 1.048 MB / 3.694 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/7.976, allocations: 0 / 3.694 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/7.977, allocations: 347.4 kB / 3.694 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/7.98, allocations: 483.2 kB / 3.694 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/7.983, allocations: 1.956 MB / 3.696 GB, free: 188.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/7.983, allocations: 1.051 MB / 3.697 GB, free: 188.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001464/7.985, allocations: 293 kB / 3.698 GB, free: 188.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/7.985, allocations: 97.36 kB / 3.698 GB, free: 188.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/7.985, allocations: 0 / 3.698 GB, free: 188.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05796/8.043, allocations: 40.24 MB / 3.737 GB, free: 187.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)