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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006431/0.0006432, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.003567/0.003567, allocations: 169.5 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8351/0.8351, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 11.98 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1238, allocations: 83.4 MB / 0.5978 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3645/0.4884, allocations: 185 MB / 0.7785 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006149/0.4946, allocations: 4.276 MB / 0.7827 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.4952, allocations: 27.81 kB / 0.7827 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009484/0.4962, allocations: 421.7 kB / 0.7831 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.4988, allocations: 1.461 MB / 0.7846 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.5013, allocations: 1.232 MB / 0.7858 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5036, allocations: 2.793 MB / 0.7885 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.5045, allocations: 0.9013 MB / 0.7894 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.5054, allocations: 0.8209 MB / 0.7902 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.5062, allocations: 0.813 MB / 0.791 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.5063, allocations: 60 kB / 0.791 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.508, allocations: 1.368 MB / 0.7924 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.5083, allocations: 330.7 kB / 0.7927 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004565/0.5088, allocations: 0.5767 MB / 0.7932 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.5105, allocations: 2.048 MB / 0.7952 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5105, allocations: 0 / 0.7952 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5105, allocations: 0 / 0.7952 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5105, allocations: 0 / 0.7952 GB, free: 1.852 MB / 0.6075 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.003177/0.5137, allocations: 1.506 MB / 0.7967 GB, free: 304 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.5137, allocations: 8.031 kB / 0.7967 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/0.5144, allocations: 182.5 kB / 0.7969 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.5158, allocations: 1.041 MB / 0.7979 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.516, allocations: 52.92 kB / 0.798 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5161, allocations: 64 kB / 0.798 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5171, allocations: 0.6154 MB / 0.7986 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5172, allocations: 3.938 kB / 0.7986 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.5172, allocations: 24 kB / 0.7986 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.5172, allocations: 21 kB / 0.7987 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.5185, allocations: 0.648 MB / 0.7993 GB, free: 13.58 MB / 0.6231 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.003387/0.5219, allocations: 2.674 MB / 0.8019 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.5229, allocations: 0.5607 MB / 0.8025 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.5235, allocations: 358.8 kB / 0.8028 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.5239, allocations: 291.3 kB / 0.8031 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5239, allocations: 34.56 kB / 0.8031 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005823/0.5245, allocations: 163.5 kB / 0.8033 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.5245, allocations: 0 / 0.8033 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002062/0.5266, allocations: 1.062 MB / 0.8043 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5266, allocations: 59.34 kB / 0.8044 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5283, allocations: 1.271 MB / 0.8056 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.5283, allocations: 41.7 kB / 0.8056 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5287, allocations: 437.7 kB / 0.8061 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5288, allocations: 145.8 kB / 0.8062 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.5289, allocations: 41.69 kB / 0.8062 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.5289, allocations: 322 kB / 0.8065 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.5295, allocations: 276.6 kB / 0.8068 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006996/0.5302, allocations: 492.2 kB / 0.8073 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.5313, allocations: 0.6233 MB / 0.8079 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5313, allocations: 0 / 0.8079 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001346/0.5327, allocations: 0.7613 MB / 0.8086 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.5327, allocations: 91.48 kB / 0.8087 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5327, allocations: 7.938 kB / 0.8087 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5328, allocations: 4 kB / 0.8087 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.5333, allocations: 127.8 kB / 0.8088 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5334, allocations: 0 / 0.8088 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.5344, allocations: 129.3 kB / 0.809 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.5345, allocations: 32.53 kB / 0.809 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.5345, allocations: 5.406 kB / 0.809 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/0.5357, allocations: 0.6277 MB / 0.8096 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.5357, allocations: 0 / 0.8096 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.5357, allocations: 7.984 kB / 0.8096 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.5363, allocations: 123.8 kB / 0.8097 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.5363, allocations: 4 kB / 0.8097 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5373, allocations: 123.7 kB / 0.8099 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5374, allocations: 23.97 kB / 0.8099 GB, free: 2.375 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.5377, allocations: 325 kB / 0.8102 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5378, allocations: 106.6 kB / 0.8103 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.5394, allocations: 0.8358 MB / 0.8111 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.5394, allocations: 11.98 kB / 0.8111 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5394, allocations: 3.938 kB / 0.8111 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5394, allocations: 3.984 kB / 0.8111 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.5421, allocations: 1.976 MB / 0.8131 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5421, allocations: 3.938 kB / 0.8131 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.5427, allocations: 116.1 kB / 0.8132 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5427, allocations: 8 kB / 0.8132 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5427, allocations: 8 kB / 0.8132 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.5427, allocations: 11.88 kB / 0.8132 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5427, allocations: 4 kB / 0.8132 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.5447, allocations: 1.275 MB / 0.8145 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5451, allocations: 295.6 kB / 0.8147 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5452, allocations: 12 kB / 0.8147 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.5461, allocations: 91.81 kB / 0.8148 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.5462, allocations: 35.94 kB / 0.8149 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.5462, allocations: 20 kB / 0.8149 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001241/0.5475, allocations: 0.9285 MB / 0.8158 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5475, allocations: 0 / 0.8158 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008632/0.5484, allocations: 403.4 kB / 0.8162 GB, free: 11.76 MB / 0.6387 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 (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.0003763/0.5488, allocations: 221.6 kB / 0.8164 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.5505, allocations: 0.9718 MB / 0.8173 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5505, allocations: 0 / 0.8173 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.5511, allocations: 352.1 kB / 0.8177 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.5535, allocations: 467.3 kB / 0.8181 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.5557, allocations: 2.026 MB / 0.8201 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.5562, allocations: 1.049 MB / 0.8211 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009205/0.5571, allocations: 287.6 kB / 0.8214 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.5574, allocations: 91.38 kB / 0.8215 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.5574, allocations: 0 / 0.8215 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.02671/0.5841, allocations: 20.44 MB / 0.8414 GB, free: 2.102 MB / 0.6544 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)