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.001487/0.001487, allocations: 102.1 kB / 16.4 MB, free: 6.023 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.001538/0.001538, allocations: 191.6 kB / 17.34 MB, free: 5.605 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.8735/0.8735, allocations: 143.1 MB / 434.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 60.22 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.152, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5196/0.6716, allocations: 190.3 MB / 0.8621 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00731/0.6789, allocations: 4.299 MB / 0.8663 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009299/0.6798, allocations: 27.81 kB / 0.8664 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.6811, allocations: 0.5201 MB / 0.8669 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.6848, allocations: 1.63 MB / 0.8685 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.688, allocations: 1.349 MB / 0.8698 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.6909, allocations: 2.268 MB / 0.872 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.6922, allocations: 0.9596 MB / 0.8729 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.6937, allocations: 0.9811 MB / 0.8739 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6949, allocations: 0.8872 MB / 0.8747 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.6951, allocations: 140 kB / 0.8749 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.6973, allocations: 1.255 MB / 0.8761 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.6977, allocations: 430.6 kB / 0.8765 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.6983, allocations: 0.6531 MB / 0.8772 GB, free: 132 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.7009, allocations: 2.102 MB / 0.8792 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7009, allocations: 0 / 0.8792 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7009, allocations: 0 / 0.8792 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.7009, allocations: 0 / 0.8792 GB, free: 14.02 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.003894/0.7048, allocations: 1.727 MB / 0.8809 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7049, allocations: 15.91 kB / 0.8809 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.7057, allocations: 191.1 kB / 0.8811 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.7075, allocations: 1.085 MB / 0.8822 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.7076, allocations: 45 kB / 0.8822 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.7077, allocations: 63.94 kB / 0.8823 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.7089, allocations: 0.6271 MB / 0.8829 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.709, allocations: 0 / 0.8829 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.709, allocations: 20 kB / 0.8829 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.7091, allocations: 21 kB / 0.8829 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.7104, allocations: 0.6519 MB / 0.8835 GB, free: 9.461 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.004072/0.7145, allocations: 2.669 MB / 0.8861 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.7156, allocations: 0.4962 MB / 0.8866 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.7162, allocations: 337.3 kB / 0.887 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004207/0.7166, allocations: 288 kB / 0.8872 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7167, allocations: 42.5 kB / 0.8873 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008407/0.7175, allocations: 191.6 kB / 0.8875 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.7175, allocations: 0 / 0.8875 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002396/0.7199, allocations: 1.025 MB / 0.8885 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.72, allocations: 63.36 kB / 0.8885 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.722, allocations: 1.267 MB / 0.8898 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.722, allocations: 45.69 kB / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.7224, allocations: 438 kB / 0.8902 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.7226, allocations: 154.6 kB / 0.8904 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.7228, allocations: 118 kB / 0.8905 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7229, allocations: 326 kB / 0.8908 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.7235, allocations: 270.2 kB / 0.891 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.7243, allocations: 489.7 kB / 0.8915 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.7256, allocations: 0.583 MB / 0.8921 GB, free: 372 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7256, allocations: 0 / 0.8921 GB, free: 372 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001594/0.7272, allocations: 0.7462 MB / 0.8928 GB, free: 15.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7272, allocations: 4 kB / 0.8928 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7272, allocations: 0 / 0.8928 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7272, allocations: 7.938 kB / 0.8928 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.7278, allocations: 119.8 kB / 0.8929 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.7279, allocations: 7.938 kB / 0.8929 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.7289, allocations: 95.33 kB / 0.893 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.729, allocations: 23.91 kB / 0.8931 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008421/0.7298, allocations: 471.9 kB / 0.8935 GB, free: 14.89 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000817/0.7307, allocations: 482 kB / 0.894 GB, free: 14.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.7318, allocations: 0.5837 MB / 0.8945 GB, free: 13.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.7318, allocations: 0 / 0.8945 GB, free: 13.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001572/0.7334, allocations: 0.738 MB / 0.8953 GB, free: 13.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7334, allocations: 7.938 kB / 0.8953 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.7334, allocations: 4 kB / 0.8953 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-06/0.7334, allocations: 0 / 0.8953 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.734, allocations: 123.8 kB / 0.8954 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.734, allocations: 0.875 kB / 0.8954 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.7353, allocations: 136.7 kB / 0.8955 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.7353, allocations: 23.98 kB / 0.8955 GB, free: 12.72 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.0002025/0.7355, allocations: 201.1 kB / 0.8957 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.7357, allocations: 115.2 kB / 0.8958 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.7374, allocations: 0.8046 MB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7374, allocations: 8 kB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7374, allocations: 0 / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7375, allocations: 7.984 kB / 0.8966 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.7406, allocations: 1.961 MB / 0.8986 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7406, allocations: 0 / 0.8986 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.7412, allocations: 108.2 kB / 0.8987 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.7412, allocations: 7.938 kB / 0.8987 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.7412, allocations: 15.98 kB / 0.8987 GB, free: 9.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.7412, allocations: 13 kB / 0.8987 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7412, allocations: 4 kB / 0.8987 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.7434, allocations: 1.233 MB / 0.8999 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.7438, allocations: 300.2 kB / 0.9002 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.744, allocations: 12 kB / 0.9002 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.7449, allocations: 67.92 kB / 0.9003 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.745, allocations: 39.94 kB / 0.9003 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.745, allocations: 16 kB / 0.9003 GB, free: 7.672 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001471/0.7465, allocations: 0.9286 MB / 0.9012 GB, free: 6.734 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7465, allocations: 0 / 0.9012 GB, free: 6.734 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001069/0.7476, allocations: 399.5 kB / 0.9016 GB, free: 6.344 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.0004788/0.748, allocations: 230.2 kB / 0.9018 GB, free: 6.117 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.75, allocations: 0.9048 MB / 0.9027 GB, free: 5.207 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.75, allocations: 3.938 kB / 0.9027 GB, free: 5.203 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.7507, allocations: 316.2 kB / 0.903 GB, free: 4.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.7525, allocations: 430.5 kB / 0.9034 GB, free: 4.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.7552, allocations: 1.751 MB / 0.9051 GB, free: 2.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.7559, allocations: 1.041 MB / 0.9061 GB, free: 1.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.7562, allocations: 99.38 kB / 0.9062 GB, free: 1.492 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.7562, allocations: 0 / 0.9062 GB, free: 1.492 MB / 0.67 GB Notification: Performance of Templates: time 0.02367/0.7799, allocations: 16.62 MB / 0.9225 GB, free: 1.023 MB / 0.6856 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)