Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0009493/0.0009491, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.325/1.325, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008364, allocations: 89.16 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6386, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.088/5.727, allocations: 2.085 GB / 3.058 GB, free: 280.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/5.727, allocations: 96.05 kB / 3.058 GB, free: 280.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.462/8.189, allocations: 0.7352 GB / 3.793 GB, free: 172.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/8.189, allocations: 0 / 3.793 GB, free: 172.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001147/8.189, allocations: 45.88 kB / 3.793 GB, free: 172.8 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003106/8.193, allocations: 1.575 MB / 3.795 GB, free: 172.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/8.193, allocations: 9.406 kB / 3.795 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/8.195, allocations: 302.6 kB / 3.795 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/8.197, allocations: 1.336 MB / 3.797 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/8.197, allocations: 22.28 kB / 3.797 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/8.197, allocations: 48.31 kB / 3.797 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/8.198, allocations: 0.746 MB / 3.797 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/8.199, allocations: 0.8062 MB / 3.798 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/8.199, allocations: 0 / 3.798 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/8.199, allocations: 0 / 3.798 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/8.199, allocations: 20.11 kB / 3.798 GB, free: 171.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004159/8.204, allocations: 3.394 MB / 3.801 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/8.204, allocations: 0.7224 MB / 3.802 GB, free: 170.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/8.205, allocations: 400.5 kB / 3.803 GB, free: 170.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/8.205, allocations: 307 kB / 3.803 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/8.205, allocations: 38.03 kB / 3.803 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/8.206, allocations: 311.5 kB / 3.803 GB, free: 170.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 1.884e-06/8.206, allocations: 0 / 3.803 GB, free: 170.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001415/8.208, allocations: 0.8607 MB / 3.804 GB, free: 170.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/8.208, allocations: 217.1 kB / 3.804 GB, free: 170.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/8.209, allocations: 1.257 MB / 3.805 GB, free: 170 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/8.209, allocations: 33.42 kB / 3.806 GB, free: 170 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/8.21, allocations: 0.5683 MB / 3.806 GB, free: 169.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/8.21, allocations: 173.9 kB / 3.806 GB, free: 169.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/8.21, allocations: 0 / 3.806 GB, free: 169.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/8.21, allocations: 329.4 kB / 3.807 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/8.21, allocations: 326.7 kB / 3.807 GB, free: 169.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/8.211, allocations: 0.6334 MB / 3.807 GB, free: 169.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/8.211, allocations: 413.6 kB / 3.808 GB, free: 169.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/8.211, allocations: 0 / 3.808 GB, free: 169.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001254/8.212, allocations: 0.9329 MB / 3.809 GB, free: 169 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/8.213, allocations: 92.17 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/8.213, allocations: 10.56 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/8.213, allocations: 3.562 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/8.213, allocations: 165 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/8.213, allocations: 6.172 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/8.215, allocations: 137.1 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/8.215, allocations: 41.59 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/8.215, allocations: 3.594 kB / 3.809 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/8.216, allocations: 0.7593 MB / 3.81 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/8.216, allocations: 0 / 3.81 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/8.216, allocations: 3.688 kB / 3.81 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/8.217, allocations: 167.9 kB / 3.81 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/8.217, allocations: 3.953 kB / 3.81 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/8.218, allocations: 137.4 kB / 3.81 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/8.218, allocations: 38.02 kB / 3.81 GB, free: 168.8 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 () * 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.0001554/8.218, allocations: 119.7 kB / 3.81 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/8.218, allocations: 123.2 kB / 3.811 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/8.22, allocations: 0.9169 MB / 3.811 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/8.22, allocations: 6.938 kB / 3.811 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/8.22, allocations: 7.266 kB / 3.811 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/8.22, allocations: 3.562 kB / 3.811 GB, free: 168.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002599/8.222, allocations: 2.286 MB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/8.222, allocations: 3.844 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/8.223, allocations: 137.5 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/8.223, allocations: 7.156 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/8.223, allocations: 17.78 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/8.223, allocations: 3.812 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/8.223, allocations: 7 kB / 3.814 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/8.225, allocations: 1.479 MB / 3.815 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/8.225, allocations: 359.4 kB / 3.816 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/8.225, allocations: 13.08 kB / 3.816 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/8.226, allocations: 92.75 kB / 3.816 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/8.226, allocations: 50.72 kB / 3.816 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/8.226, allocations: 24.97 kB / 3.816 GB, free: 167.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001019/8.228, allocations: 0.9659 MB / 3.817 GB, free: 167.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/8.228, allocations: 0 / 3.817 GB, free: 167.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001721/8.229, allocations: 0.6722 MB / 3.817 GB, free: 167.4 MB / 0.948 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 () * 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.002808/8.232, allocations: 2.135 MB / 3.819 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0018/8.234, allocations: 1.288 MB / 3.821 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/8.234, allocations: 1.438 kB / 3.821 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/8.234, allocations: 359.1 kB / 3.821 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/8.237, allocations: 0.4967 MB / 3.822 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/8.24, allocations: 1.641 MB / 3.823 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/8.241, allocations: 1.195 MB / 3.824 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002148/8.243, allocations: 0.4921 MB / 3.825 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/8.243, allocations: 88.3 kB / 3.825 GB, free: 165.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/8.243, allocations: 0 / 3.825 GB, free: 165.5 MB / 0.948 GB Notification: Performance of Templates: time 0.05585/8.299, allocations: 35.44 MB / 3.86 GB, free: 164.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)