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.009172/0.009172, allocations: 101.8 kB / 15.73 MB, free: 6 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.001772/0.001772, allocations: 197.8 kB / 16.68 MB, free: 5.926 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.8862/0.8862, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.75 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1748, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6149/0.7898, allocations: 189.8 MB / 0.861 GB, free: 40 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.7972, allocations: 4.289 MB / 0.8651 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.7983, allocations: 27.81 kB / 0.8652 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7998, allocations: 0.4967 MB / 0.8657 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.8037, allocations: 1.563 MB / 0.8672 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.8072, allocations: 1.348 MB / 0.8685 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.8103, allocations: 2.28 MB / 0.8707 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.812, allocations: 1.077 MB / 0.8718 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.8138, allocations: 0.9576 MB / 0.8727 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.8151, allocations: 0.8794 MB / 0.8736 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.8153, allocations: 140 kB / 0.8737 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.8177, allocations: 1.247 MB / 0.8749 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.8181, allocations: 414.8 kB / 0.8753 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007339/0.8189, allocations: 0.653 MB / 0.876 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.8219, allocations: 2.072 MB / 0.878 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8219, allocations: 4 kB / 0.878 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8219, allocations: 0 / 0.878 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.822, allocations: 0 / 0.878 GB, free: 14.56 MB / 0.6544 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.004348/0.8263, allocations: 1.716 MB / 0.8797 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8264, allocations: 8.031 kB / 0.8797 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.8272, allocations: 190.4 kB / 0.8799 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.8291, allocations: 1.08 MB / 0.8809 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.8292, allocations: 41 kB / 0.8809 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.8293, allocations: 63.94 kB / 0.881 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.8305, allocations: 0.6115 MB / 0.8816 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8306, allocations: 0 / 0.8816 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.8306, allocations: 16 kB / 0.8816 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.8307, allocations: 17 kB / 0.8816 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.832, allocations: 0.6285 MB / 0.8822 GB, free: 10.07 MB / 0.6544 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.004198/0.8362, allocations: 2.658 MB / 0.8848 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8374, allocations: 0.5501 MB / 0.8854 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.838, allocations: 340.7 kB / 0.8857 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.8384, allocations: 296 kB / 0.886 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8384, allocations: 38.5 kB / 0.886 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006259/0.839, allocations: 143.4 kB / 0.8862 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.8391, allocations: 0 / 0.8862 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002335/0.8414, allocations: 1.02 MB / 0.8872 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.8415, allocations: 59.36 kB / 0.8872 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8433, allocations: 1.279 MB / 0.8885 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.8434, allocations: 37.7 kB / 0.8885 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.8438, allocations: 433.7 kB / 0.8889 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.8439, allocations: 145.8 kB / 0.8891 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.8441, allocations: 118 kB / 0.8892 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8443, allocations: 322 kB / 0.8895 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.8448, allocations: 274.2 kB / 0.8897 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.8456, allocations: 481.1 kB / 0.8902 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.8468, allocations: 0.5869 MB / 0.8908 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8468, allocations: 0 / 0.8908 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001594/0.8484, allocations: 0.7417 MB / 0.8915 GB, free: 244 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8485, allocations: 5.875 kB / 0.8915 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8485, allocations: 3.938 kB / 0.8915 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8485, allocations: 4 kB / 0.8915 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.8492, allocations: 127.8 kB / 0.8916 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8492, allocations: 0 / 0.8916 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.8503, allocations: 93.67 kB / 0.8917 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.8504, allocations: 23.92 kB / 0.8917 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008093/0.8512, allocations: 472.8 kB / 0.8922 GB, free: 15.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007697/0.852, allocations: 485.9 kB / 0.8927 GB, free: 14.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/0.8532, allocations: 0.5838 MB / 0.8932 GB, free: 14.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.8532, allocations: 4 kB / 0.8932 GB, free: 14.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00156/0.8547, allocations: 0.7304 MB / 0.8939 GB, free: 13.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8548, allocations: 11.94 kB / 0.8939 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.8548, allocations: 0 / 0.8939 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.8548, allocations: 0 / 0.8939 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.8554, allocations: 119.8 kB / 0.8941 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.8554, allocations: 4 kB / 0.8941 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.8568, allocations: 126 kB / 0.8942 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.8568, allocations: 27.98 kB / 0.8942 GB, free: 13.36 MB / 0.67 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.0002055/0.857, allocations: 204.2 kB / 0.8944 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.8573, allocations: 102.7 kB / 0.8945 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.8591, allocations: 0.8152 MB / 0.8953 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8591, allocations: 4 kB / 0.8953 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8591, allocations: 0 / 0.8953 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8591, allocations: 3.984 kB / 0.8953 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.8624, allocations: 1.953 MB / 0.8972 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.8625, allocations: 7.938 kB / 0.8972 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.8631, allocations: 107.9 kB / 0.8973 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.8631, allocations: 4 kB / 0.8973 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.8631, allocations: 12.28 kB / 0.8973 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.8632, allocations: 15.88 kB / 0.8974 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8632, allocations: 7.625 kB / 0.8974 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.8653, allocations: 1.228 MB / 0.8986 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.8659, allocations: 295.6 kB / 0.8988 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.866, allocations: 8 kB / 0.8989 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8671, allocations: 67.92 kB / 0.8989 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.8672, allocations: 43.94 kB / 0.899 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.8672, allocations: 16 kB / 0.899 GB, free: 8.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001563/0.8688, allocations: 0.9208 MB / 0.8999 GB, free: 7.391 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8688, allocations: 4 kB / 0.8999 GB, free: 7.387 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00124/0.8701, allocations: 407.4 kB / 0.9003 GB, free: 6.988 MB / 0.67 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.0004863/0.8706, allocations: 220.6 kB / 0.9005 GB, free: 6.773 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.8727, allocations: 0.9398 MB / 0.9014 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8727, allocations: 4 kB / 0.9014 GB, free: 5.824 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.8733, allocations: 328.2 kB / 0.9017 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.8753, allocations: 438.7 kB / 0.9021 GB, free: 5.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.8779, allocations: 1.692 MB / 0.9038 GB, free: 3.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.8786, allocations: 1.049 MB / 0.9048 GB, free: 2.262 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001116/0.8798, allocations: 283.1 kB / 0.9051 GB, free: 1.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.8801, allocations: 99.38 kB / 0.9052 GB, free: 1.883 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/0.8802, allocations: 0 / 0.9052 GB, free: 1.883 MB / 0.67 GB Notification: Performance of Templates: time 0.03562/0.9158, allocations: 21.93 MB / 0.9266 GB, free: 12.2 MB / 0.7012 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)