Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 259.2 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.000426, allocations: 18.55 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1825, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6089/0.7915, allocations: 172.5 MB / 0.853 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007302/0.7988, allocations: 4.053 MB / 0.8569 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.8001, allocations: 22.31 kB / 0.857 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.8014, allocations: 340.2 kB / 0.8573 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.8051, allocations: 1.143 MB / 0.8584 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.8081, allocations: 1.017 MB / 0.8594 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.8112, allocations: 2.394 MB / 0.8617 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.8125, allocations: 0.847 MB / 0.8626 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.8139, allocations: 0.8058 MB / 0.8633 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009777/0.8149, allocations: 0.7951 MB / 0.8641 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.815, allocations: 57.16 kB / 0.8642 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.817, allocations: 0.7884 MB / 0.8649 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.8174, allocations: 336.3 kB / 0.8653 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.8177, allocations: 219.9 kB / 0.8655 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.8191, allocations: 1.462 MB / 0.8669 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8191, allocations: 2.656 kB / 0.8669 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.085e-06/0.8192, allocations: 0 / 0.8669 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.8192, allocations: 3.938 kB / 0.8669 GB, free: 2.172 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003568/0.8227, allocations: 1.502 MB / 0.8684 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.8228, allocations: 10.69 kB / 0.8684 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/0.8236, allocations: 187.3 kB / 0.8686 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.8254, allocations: 0.996 MB / 0.8695 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.8255, allocations: 55.8 kB / 0.8696 GB, free: 204 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.8256, allocations: 60.47 kB / 0.8696 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8268, allocations: 0.6212 MB / 0.8703 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.8268, allocations: 2.562 kB / 0.8703 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.8269, allocations: 22.97 kB / 0.8703 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.8269, allocations: 17.66 kB / 0.8703 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.8282, allocations: 0.6488 MB / 0.8709 GB, free: 15.5 MB / 0.5919 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.003898/0.8321, allocations: 2.672 MB / 0.8735 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.8332, allocations: 0.5522 MB / 0.8741 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.8338, allocations: 357.7 kB / 0.8744 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.8342, allocations: 298.5 kB / 0.8747 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.8342, allocations: 39.12 kB / 0.8747 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007799/0.835, allocations: 164.3 kB / 0.8749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/0.835, allocations: 0 / 0.8749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002238/0.8373, allocations: 1.048 MB / 0.8759 GB, free: 12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.8373, allocations: 60.66 kB / 0.876 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.8394, allocations: 1.259 MB / 0.8772 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.8395, allocations: 41.7 kB / 0.8772 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.8398, allocations: 441.5 kB / 0.8777 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.84, allocations: 149.8 kB / 0.8778 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.84, allocations: 4 kB / 0.8778 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8402, allocations: 326 kB / 0.8781 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.8407, allocations: 268.6 kB / 0.8784 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.8415, allocations: 495.4 kB / 0.8789 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.8421, allocations: 327.2 kB / 0.8792 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8421, allocations: 3.953 kB / 0.8792 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001477/0.8436, allocations: 0.7501 MB / 0.8799 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.8437, allocations: 93.48 kB / 0.88 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.8437, allocations: 7.984 kB / 0.88 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8437, allocations: 0 / 0.88 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.8443, allocations: 131.8 kB / 0.8801 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8444, allocations: 0 / 0.8801 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.8456, allocations: 133.3 kB / 0.8803 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.8457, allocations: 23.97 kB / 0.8803 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.8457, allocations: 4 kB / 0.8803 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/0.8469, allocations: 0.6245 MB / 0.8809 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8469, allocations: 9.953 kB / 0.8809 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.847, allocations: 0 / 0.8809 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.8475, allocations: 123.8 kB / 0.881 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8475, allocations: 4.625 kB / 0.881 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.8488, allocations: 122.1 kB / 0.8811 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.8488, allocations: 23.98 kB / 0.8812 GB, free: 6.645 MB / 0.5919 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0005899/0.8494, allocations: 325 kB / 0.8815 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.8496, allocations: 106.7 kB / 0.8816 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.8514, allocations: 0.8381 MB / 0.8824 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.8515, allocations: 4 kB / 0.8824 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8515, allocations: 3.938 kB / 0.8824 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.8515, allocations: 7.984 kB / 0.8824 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.8549, allocations: 1.968 MB / 0.8843 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.855, allocations: 4 kB / 0.8843 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.8555, allocations: 116.1 kB / 0.8844 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.8555, allocations: 8 kB / 0.8844 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.8556, allocations: 12 kB / 0.8845 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.8556, allocations: 9.875 kB / 0.8845 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8556, allocations: 3.984 kB / 0.8845 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.8579, allocations: 1.271 MB / 0.8857 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.8585, allocations: 287.7 kB / 0.886 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.8587, allocations: 12 kB / 0.886 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/0.8597, allocations: 91.81 kB / 0.8861 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8598, allocations: 51.81 kB / 0.8861 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.8599, allocations: 16 kB / 0.8862 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001569/0.8615, allocations: 0.9091 MB / 0.887 GB, free: 452 kB / 0.5919 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8615, allocations: 4 kB / 0.887 GB, free: 448 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001276/0.8628, allocations: 407.4 kB / 0.8874 GB, free: 40 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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.0006026/0.8634, allocations: 210.1 kB / 0.8876 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.8656, allocations: 0.9746 MB / 0.8886 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8656, allocations: 3.938 kB / 0.8886 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/0.8662, allocations: 348.2 kB / 0.8889 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.869, allocations: 463.8 kB / 0.8894 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.8723, allocations: 1.94 MB / 0.8913 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.8732, allocations: 1.042 MB / 0.8923 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001416/0.8746, allocations: 291.9 kB / 0.8926 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.875, allocations: 95.38 kB / 0.8926 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of SimCode: time 8.31e-07/0.875, allocations: 0 / 0.8926 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.03744/0.9124, allocations: 19.8 MB / 0.912 GB, free: 7.113 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)