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.0008041/0.0008042, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000888/0.0008879, allocations: 177.7 kB / 16.92 MB, free: 6.648 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.301 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.9975/0.9975, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003329, allocations: 12 kB / 0.5171 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5188/0.6872, allocations: 185 MB / 0.7792 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008432/0.6957, allocations: 4.271 MB / 0.7834 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.6971, allocations: 23.81 kB / 0.7834 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.6985, allocations: 425.6 kB / 0.7838 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.7026, allocations: 1.467 MB / 0.7852 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.706, allocations: 1.24 MB / 0.7864 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003851/0.7099, allocations: 2.78 MB / 0.7892 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.7115, allocations: 0.9013 MB / 0.79 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.7133, allocations: 0.8247 MB / 0.7908 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7146, allocations: 0.8209 MB / 0.7916 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.7147, allocations: 56 kB / 0.7917 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.7174, allocations: 1.356 MB / 0.793 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.7178, allocations: 342.7 kB / 0.7933 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.7185, allocations: 0.5767 MB / 0.7939 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.7202, allocations: 1.566 MB / 0.7954 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7202, allocations: 7.938 kB / 0.7954 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7203, allocations: 0 / 0.7954 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.7203, allocations: 0 / 0.7954 GB, free: 2.297 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.003803/0.7241, allocations: 1.502 MB / 0.7969 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7241, allocations: 12.03 kB / 0.7969 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.725, allocations: 186.5 kB / 0.7971 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.7268, allocations: 1.041 MB / 0.7981 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.7269, allocations: 60.92 kB / 0.7982 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.7271, allocations: 56 kB / 0.7982 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.7283, allocations: 0.6232 MB / 0.7988 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.7283, allocations: 0 / 0.7988 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.7284, allocations: 20 kB / 0.7989 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.7284, allocations: 17 kB / 0.7989 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.7298, allocations: 0.648 MB / 0.7995 GB, free: 14.02 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.00413/0.7339, allocations: 2.689 MB / 0.8021 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.7351, allocations: 0.5459 MB / 0.8027 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.7358, allocations: 365.6 kB / 0.803 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.7362, allocations: 287.3 kB / 0.8033 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.7362, allocations: 42.5 kB / 0.8033 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000775/0.737, allocations: 159.6 kB / 0.8035 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.737, allocations: 0 / 0.8035 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002391/0.7394, allocations: 1.062 MB / 0.8045 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.7395, allocations: 55.41 kB / 0.8046 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.7415, allocations: 1.271 MB / 0.8058 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.7416, allocations: 37.7 kB / 0.8058 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.7419, allocations: 433.7 kB / 0.8063 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.7421, allocations: 145.8 kB / 0.8064 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.7422, allocations: 45.69 kB / 0.8064 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7423, allocations: 322 kB / 0.8067 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.7429, allocations: 272.6 kB / 0.807 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.7437, allocations: 496.2 kB / 0.8075 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7449, allocations: 0.6194 MB / 0.8081 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7449, allocations: 4 kB / 0.8081 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001537/0.7465, allocations: 0.7612 MB / 0.8088 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.7465, allocations: 103.5 kB / 0.8089 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7466, allocations: 0 / 0.8089 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7466, allocations: 3.938 kB / 0.8089 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.7473, allocations: 131.8 kB / 0.8091 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.7473, allocations: 0 / 0.8091 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.7486, allocations: 125.8 kB / 0.8092 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.7487, allocations: 27.91 kB / 0.8092 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.7487, allocations: 5.719 kB / 0.8092 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/0.75, allocations: 0.6278 MB / 0.8098 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.7501, allocations: 4 kB / 0.8098 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.7501, allocations: 0 / 0.8098 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.7507, allocations: 131.8 kB / 0.81 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7507, allocations: 4 kB / 0.81 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.752, allocations: 117.5 kB / 0.8101 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.7521, allocations: 27.97 kB / 0.8101 GB, free: 2.816 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.0004874/0.7526, allocations: 325 kB / 0.8104 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.7528, allocations: 106.6 kB / 0.8105 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.7546, allocations: 0.8304 MB / 0.8113 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.7546, allocations: 4 kB / 0.8113 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7546, allocations: 4 kB / 0.8113 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7546, allocations: 4 kB / 0.8113 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.7578, allocations: 1.972 MB / 0.8133 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7578, allocations: 7.938 kB / 0.8133 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.7584, allocations: 124 kB / 0.8134 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.7584, allocations: 4 kB / 0.8134 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.7585, allocations: 19.98 kB / 0.8134 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.7585, allocations: 7.938 kB / 0.8134 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7585, allocations: 7.938 kB / 0.8134 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7608, allocations: 1.267 MB / 0.8147 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.7613, allocations: 295.6 kB / 0.8149 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7614, allocations: 24 kB / 0.815 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7625, allocations: 83.75 kB / 0.815 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7626, allocations: 39.94 kB / 0.8151 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.7627, allocations: 16 kB / 0.8151 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001498/0.7642, allocations: 0.9247 MB / 0.816 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7642, allocations: 0 / 0.816 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001151/0.7654, allocations: 403.4 kB / 0.8164 GB, free: 12.2 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.0005081/0.7659, allocations: 219.6 kB / 0.8166 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.768, allocations: 0.964 MB / 0.8175 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.768, allocations: 0 / 0.8175 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.7687, allocations: 360.1 kB / 0.8179 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.7716, allocations: 463.7 kB / 0.8183 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.7746, allocations: 2.067 MB / 0.8203 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.7752, allocations: 1.053 MB / 0.8214 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.7756, allocations: 99.38 kB / 0.8215 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/0.7756, allocations: 0 / 0.8215 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of Templates: time 0.02487/0.8005, allocations: 16.32 MB / 0.8374 GB, free: 6.777 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)