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.7495/0.7495, allocations: 128.7 MB / 144.5 MB, free: 1.383 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.001464/0.001464, allocations: 186 kB / 174.2 MB, free: 5.961 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.46/1.46, allocations: 205 MB / 408.9 MB, free: 9.75 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.0009786/0.0009786, allocations: 105.8 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 58.02 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1527, allocations: 75.46 MB / 0.6317 GB, free: 33.1 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5542/0.7069, allocations: 201.7 MB / 0.8286 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.7187, allocations: 7.779 MB / 0.8362 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000924/0.7197, allocations: 34.66 kB / 0.8363 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.7211, allocations: 450.5 kB / 0.8367 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.7239, allocations: 1.346 MB / 0.838 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.7294, allocations: 2.074 MB / 0.84 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.732, allocations: 2.71 MB / 0.8427 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.7331, allocations: 0.87 MB / 0.8435 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.7342, allocations: 0.7819 MB / 0.8443 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.735, allocations: 0.7687 MB / 0.8451 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.7351, allocations: 60.56 kB / 0.8451 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.7375, allocations: 1.486 MB / 0.8466 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.7378, allocations: 323.6 kB / 0.8469 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.7384, allocations: 0.5251 MB / 0.8474 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.7407, allocations: 2.017 MB / 0.8494 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.7407, allocations: 0 / 0.8494 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7407, allocations: 3.938 kB / 0.8494 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.7407, allocations: 0 / 0.8494 GB, free: 11.12 MB / 0.5417 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.003381/0.7441, allocations: 1.604 MB / 0.8509 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7441, allocations: 8.031 kB / 0.8509 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.745, allocations: 198.6 kB / 0.8511 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.7463, allocations: 0.8258 MB / 0.8519 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.7464, allocations: 52.98 kB / 0.852 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/0.7465, allocations: 56 kB / 0.852 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.7487, allocations: 0.8236 MB / 0.8528 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7487, allocations: 0 / 0.8528 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.7487, allocations: 20 kB / 0.8529 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.7488, allocations: 12 kB / 0.8529 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.7509, allocations: 0.7689 MB / 0.8536 GB, free: 7.027 MB / 0.5417 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.003874/0.7548, allocations: 2.477 MB / 0.856 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.7569, allocations: 0.7365 MB / 0.8568 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.7576, allocations: 361.7 kB / 0.8571 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.758, allocations: 283.3 kB / 0.8574 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.758, allocations: 34.56 kB / 0.8574 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006616/0.7587, allocations: 163.5 kB / 0.8576 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/0.7587, allocations: 0 / 0.8576 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.004113/0.7628, allocations: 1.316 MB / 0.8588 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.7629, allocations: 132.5 kB / 0.859 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.7643, allocations: 1.005 MB / 0.86 GB, free: 268 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.7644, allocations: 37.7 kB / 0.86 GB, free: 224 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.7647, allocations: 429.3 kB / 0.8604 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.7649, allocations: 153.8 kB / 0.8605 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.7651, allocations: 126 kB / 0.8607 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7653, allocations: 330 kB / 0.861 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.7661, allocations: 366.3 kB / 0.8613 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7671, allocations: 0.5159 MB / 0.8618 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.7688, allocations: 0.7168 MB / 0.8625 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7689, allocations: 7.984 kB / 0.8625 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002051/0.7709, allocations: 0.907 MB / 0.8634 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7709, allocations: 4 kB / 0.8634 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.771, allocations: 4 kB / 0.8634 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.771, allocations: 0 / 0.8634 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.7718, allocations: 155.7 kB / 0.8636 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7718, allocations: 4 kB / 0.8636 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.7729, allocations: 83.81 kB / 0.8637 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.773, allocations: 31.97 kB / 0.8637 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008721/0.7739, allocations: 0.4892 MB / 0.8642 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007617/0.7746, allocations: 478.1 kB / 0.8646 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001225/0.7759, allocations: 0.6408 MB / 0.8653 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.7759, allocations: 0 / 0.8653 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001596/0.7775, allocations: 0.8045 MB / 0.866 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7775, allocations: 9.719 kB / 0.8661 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7775, allocations: 7.984 kB / 0.8661 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.7775, allocations: 4 kB / 0.8661 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.7781, allocations: 119.8 kB / 0.8662 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7782, allocations: 4 kB / 0.8662 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.7791, allocations: 91.78 kB / 0.8663 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.7791, allocations: 27.97 kB / 0.8663 GB, free: 9.602 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.7793, allocations: 204.2 kB / 0.8665 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7795, allocations: 98.78 kB / 0.8666 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.7818, allocations: 0.9037 MB / 0.8675 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.7818, allocations: 8 kB / 0.8675 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7818, allocations: 3.938 kB / 0.8675 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.7818, allocations: 11.97 kB / 0.8675 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.7853, allocations: 1.987 MB / 0.8694 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7853, allocations: 4 kB / 0.8694 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/0.7861, allocations: 132 kB / 0.8696 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.7861, allocations: 8 kB / 0.8696 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.7862, allocations: 19.98 kB / 0.8696 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.7862, allocations: 7.938 kB / 0.8696 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7862, allocations: 4 kB / 0.8696 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/0.7925, allocations: 3.677 MB / 0.8732 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.7928, allocations: 192 kB / 0.8734 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.793, allocations: 12 kB / 0.8734 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.7938, allocations: 71.89 kB / 0.8735 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.794, allocations: 55.77 kB / 0.8735 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.794, allocations: 23.98 kB / 0.8735 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000934/0.795, allocations: 0.708 MB / 0.8742 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.795, allocations: 0 / 0.8742 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001529/0.7965, allocations: 0.5462 MB / 0.8748 GB, free: 0.6367 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005592/0.7971, allocations: 252.9 kB / 0.875 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002932/0.8, allocations: 1.188 MB / 0.8762 GB, free: 15.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8, allocations: 7.938 kB / 0.8762 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.8009, allocations: 395.5 kB / 0.8765 GB, free: 14.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.8032, allocations: 461.5 kB / 0.877 GB, free: 14.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.8081, allocations: 2.605 MB / 0.8795 GB, free: 11.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.8086, allocations: 1.041 MB / 0.8805 GB, free: 10.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001063/0.8097, allocations: 274.9 kB / 0.8808 GB, free: 10.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.8101, allocations: 99.36 kB / 0.8809 GB, free: 10.23 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/0.8101, allocations: 0 / 0.8809 GB, free: 10.23 MB / 0.573 GB Notification: Performance of Templates: time 0.0337/0.8438, allocations: 21.27 MB / 0.9017 GB, free: 5.125 MB / 0.5886 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)