Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.146/2.146, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 174.4 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009433/0.0009432, allocations: 90.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.000528, allocations: 13.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2363, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.46/7.697, allocations: 2.202 GB / 3.102 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/7.697, allocations: 101.8 kB / 3.102 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.698/11.39, allocations: 0.719 GB / 3.821 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/11.39, allocations: 0 / 3.821 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002795/11.39, allocations: 37.11 kB / 3.821 GB, free: 165.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.01053/11.41, allocations: 2.096 MB / 3.823 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/11.41, allocations: 7.188 kB / 3.823 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/11.41, allocations: 306.3 kB / 3.823 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/11.42, allocations: 1.377 MB / 3.825 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/11.42, allocations: 62.94 kB / 3.825 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/11.42, allocations: 86.25 kB / 3.825 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/11.42, allocations: 0.9482 MB / 3.826 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/11.42, allocations: 7.312 kB / 3.826 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/11.42, allocations: 27.34 kB / 3.826 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/11.42, allocations: 15.62 kB / 3.826 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/11.42, allocations: 0.8754 MB / 3.827 GB, free: 164.1 MB / 0.8855 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.01069/11.43, allocations: 3.563 MB / 3.83 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/11.44, allocations: 0.7974 MB / 3.831 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/11.44, allocations: 467.6 kB / 3.831 GB, free: 163 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/11.44, allocations: 296.1 kB / 3.832 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/11.44, allocations: 43.78 kB / 3.832 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003094/11.44, allocations: 334.4 kB / 3.832 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 7.053e-06/11.44, allocations: 0 / 3.832 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.00584/11.45, allocations: 1.342 MB / 3.833 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/11.45, allocations: 213.2 kB / 3.834 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005202/11.45, allocations: 1.627 MB / 3.835 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000447/11.45, allocations: 47.7 kB / 3.835 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/11.45, allocations: 0.5551 MB / 3.836 GB, free: 162 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/11.46, allocations: 183.6 kB / 3.836 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/11.46, allocations: 10.06 kB / 3.836 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/11.46, allocations: 331.6 kB / 3.836 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/11.46, allocations: 384 kB / 3.837 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/11.46, allocations: 0.7046 MB / 3.837 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/11.46, allocations: 468.2 kB / 3.838 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/11.46, allocations: 0 / 3.838 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004262/11.46, allocations: 1.055 MB / 3.839 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/11.46, allocations: 95.31 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/11.46, allocations: 3.812 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/11.46, allocations: 3.797 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/11.47, allocations: 166.3 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/11.47, allocations: 3.875 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/11.47, allocations: 150.8 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/11.47, allocations: 48.83 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/11.47, allocations: 9.359 kB / 3.839 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003019/11.47, allocations: 0.8963 MB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/11.47, allocations: 7.906 kB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/11.47, allocations: 3.938 kB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/11.48, allocations: 168 kB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/11.48, allocations: 3.312 kB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/11.48, allocations: 150.8 kB / 3.84 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/11.48, allocations: 39.92 kB / 3.84 GB, free: 161.1 MB / 0.8855 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001089/11.48, allocations: 386.3 kB / 3.841 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/11.48, allocations: 139.5 kB / 3.841 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/11.48, allocations: 1.065 MB / 3.842 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/11.48, allocations: 10.22 kB / 3.842 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/11.48, allocations: 0 / 3.842 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/11.48, allocations: 3.891 kB / 3.842 GB, free: 160.7 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.006963/11.49, allocations: 2.516 MB / 3.844 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/11.49, allocations: 3.906 kB / 3.844 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/11.49, allocations: 143.2 kB / 3.845 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/11.49, allocations: 11.41 kB / 3.845 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/11.49, allocations: 22.59 kB / 3.845 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/11.49, allocations: 9.219 kB / 3.845 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/11.49, allocations: 0 / 3.845 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/11.5, allocations: 1.571 MB / 3.846 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/11.5, allocations: 375.9 kB / 3.847 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/11.5, allocations: 21.22 kB / 3.847 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/11.5, allocations: 98.02 kB / 3.847 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/11.5, allocations: 54.2 kB / 3.847 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.344e-05/11.5, allocations: 30.22 kB / 3.847 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003084/11.51, allocations: 1.159 MB / 3.848 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.71e-07/11.51, allocations: 0 / 3.848 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003766/11.51, allocations: 0.7408 MB / 3.849 GB, free: 159.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * 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.003814/11.51, allocations: 1.918 MB / 3.85 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004556/11.52, allocations: 1.426 MB / 3.852 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/11.52, allocations: 3.844 kB / 3.852 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/11.52, allocations: 427.6 kB / 3.852 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/11.53, allocations: 0.5975 MB / 3.853 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/11.53, allocations: 2.51 MB / 3.855 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/11.53, allocations: 1.161 MB / 3.856 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002965/11.53, allocations: 376.5 kB / 3.857 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/11.54, allocations: 129.3 kB / 3.857 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/11.54, allocations: 2.719 kB / 3.857 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1072/11.64, allocations: 48.31 MB / 3.904 GB, free: 155.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)