Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8112/0.8112, allocations: 128.8 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 188.3 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008348/0.0008346, allocations: 90.84 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 9.031 kB / 0.5604 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.42/6.573, allocations: 2.158 GB / 2.793 GB, free: 215.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004863/6.573, allocations: 99.31 kB / 2.793 GB, free: 215.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.891/8.464, allocations: 0.5993 GB / 3.393 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/8.464, allocations: 0 / 3.393 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001092/8.464, allocations: 31.94 kB / 3.393 GB, free: 103.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004451/8.469, allocations: 1.577 MB / 3.394 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/8.469, allocations: 8.031 kB / 3.394 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/8.471, allocations: 259 kB / 3.394 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/8.473, allocations: 0.8681 MB / 3.395 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/8.473, allocations: 45 kB / 3.395 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/8.474, allocations: 56 kB / 3.395 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/8.476, allocations: 0.8557 MB / 3.396 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/8.476, allocations: 0 / 3.396 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/8.476, allocations: 23.06 kB / 3.396 GB, free: 99.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/8.476, allocations: 12 kB / 3.396 GB, free: 99.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/8.478, allocations: 0.8197 MB / 3.397 GB, free: 98.82 MB / 0.6511 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.004638/8.483, allocations: 2.522 MB / 3.4 GB, free: 96.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/8.485, allocations: 0.768 MB / 3.4 GB, free: 95.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/8.485, allocations: 290.7 kB / 3.401 GB, free: 95.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/8.485, allocations: 38.5 kB / 3.401 GB, free: 95.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/8.486, allocations: 229.1 kB / 3.401 GB, free: 94.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/8.486, allocations: 0 / 3.401 GB, free: 94.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.004053/8.49, allocations: 1.363 MB / 3.402 GB, free: 93.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/8.49, allocations: 132.5 kB / 3.402 GB, free: 93.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/8.492, allocations: 0.8948 MB / 3.403 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/8.492, allocations: 37.7 kB / 3.403 GB, free: 92.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/8.492, allocations: 426.4 kB / 3.404 GB, free: 91.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/8.492, allocations: 144.9 kB / 3.404 GB, free: 91.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/8.492, allocations: 12 kB / 3.404 GB, free: 91.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.158e-05/8.492, allocations: 318 kB / 3.404 GB, free: 91.42 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/8.493, allocations: 368.8 kB / 3.404 GB, free: 91.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000873/8.494, allocations: 0.5439 MB / 3.405 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/8.495, allocations: 413.1 kB / 3.405 GB, free: 90.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.495, allocations: 3.953 kB / 3.405 GB, free: 90.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001936/8.497, allocations: 0.9438 MB / 3.406 GB, free: 89.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/8.497, allocations: 103.5 kB / 3.406 GB, free: 88.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/8.497, allocations: 0 / 3.406 GB, free: 88.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/8.497, allocations: 4 kB / 3.406 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/8.498, allocations: 159.8 kB / 3.407 GB, free: 88.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/8.498, allocations: 4 kB / 3.407 GB, free: 88.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/8.499, allocations: 96.09 kB / 3.407 GB, free: 88.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/8.499, allocations: 35.95 kB / 3.407 GB, free: 88.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/8.499, allocations: 4 kB / 3.407 GB, free: 88.69 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/8.5, allocations: 0.7142 MB / 3.407 GB, free: 87.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/8.5, allocations: 3.953 kB / 3.407 GB, free: 87.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-06/8.5, allocations: 0 / 3.407 GB, free: 87.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/8.501, allocations: 139.8 kB / 3.407 GB, free: 87.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/8.501, allocations: 4 kB / 3.407 GB, free: 87.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/8.502, allocations: 79.97 kB / 3.408 GB, free: 87.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/8.502, allocations: 39.95 kB / 3.408 GB, free: 87.72 MB / 0.6511 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 (53): * Single equations (assignments): 51 * 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.00054/8.503, allocations: 329.2 kB / 3.408 GB, free: 87.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/8.503, allocations: 94.78 kB / 3.408 GB, free: 87.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/8.505, allocations: 0.9583 MB / 3.409 GB, free: 86.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/8.505, allocations: 4 kB / 3.409 GB, free: 86.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/8.505, allocations: 0 / 3.409 GB, free: 86.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/8.505, allocations: 7.984 kB / 3.409 GB, free: 86.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/8.508, allocations: 2.021 MB / 3.411 GB, free: 84.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/8.508, allocations: 7.984 kB / 3.411 GB, free: 84.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/8.509, allocations: 136.1 kB / 3.411 GB, free: 84.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/8.509, allocations: 8 kB / 3.411 GB, free: 84.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/8.509, allocations: 15.98 kB / 3.411 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/8.509, allocations: 4 kB / 3.411 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.509, allocations: 3.938 kB / 3.411 GB, free: 84.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/8.512, allocations: 1.567 MB / 3.413 GB, free: 82.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/8.512, allocations: 211.7 kB / 3.413 GB, free: 82.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/8.512, allocations: 16 kB / 3.413 GB, free: 82.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/8.513, allocations: 87.88 kB / 3.413 GB, free: 82.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/8.513, allocations: 35.95 kB / 3.413 GB, free: 82.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/8.513, allocations: 23.98 kB / 3.413 GB, free: 82.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009086/8.514, allocations: 0.7079 MB / 3.414 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/8.514, allocations: 0 / 3.414 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001897/8.516, allocations: 0.5658 MB / 3.414 GB, free: 80.73 MB / 0.6511 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.002232/8.518, allocations: 1.702 MB / 3.416 GB, free: 79.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002407/8.521, allocations: 1.21 MB / 3.417 GB, free: 78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/8.521, allocations: 0 / 3.417 GB, free: 78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/8.522, allocations: 412.4 kB / 3.417 GB, free: 77.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/8.524, allocations: 449.5 kB / 3.418 GB, free: 77.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/8.528, allocations: 2.308 MB / 3.42 GB, free: 74.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/8.529, allocations: 1.045 MB / 3.421 GB, free: 73.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001262/8.53, allocations: 270.2 kB / 3.421 GB, free: 73.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/8.531, allocations: 95.38 kB / 3.422 GB, free: 73.38 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/8.531, allocations: 0 / 3.422 GB, free: 73.38 MB / 0.6511 GB Notification: Performance of Templates: time 0.05009/8.581, allocations: 38.66 MB / 3.459 GB, free: 34.97 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)