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.00137/0.001369, allocations: 103.1 kB / 16.27 MB, free: 5.938 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.001473/0.001473, allocations: 186.3 kB / 17.19 MB, free: 5.574 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8222/0.8222, allocations: 143 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 63.91 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.317, allocations: 82.04 MB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5086/0.8256, allocations: 189.8 MB / 0.7803 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006608/0.8323, allocations: 4.303 MB / 0.7845 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.8338, allocations: 25.78 kB / 0.7845 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.8353, allocations: 0.4981 MB / 0.785 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.8394, allocations: 1.569 MB / 0.7865 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.8428, allocations: 1.33 MB / 0.7878 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.8456, allocations: 2.249 MB / 0.79 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.8471, allocations: 1.073 MB / 0.791 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.8488, allocations: 0.9477 MB / 0.792 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.8503, allocations: 0.8644 MB / 0.7928 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.8507, allocations: 140.7 kB / 0.7929 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.8533, allocations: 1.24 MB / 0.7942 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.8538, allocations: 417.7 kB / 0.7946 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.8549, allocations: 0.6505 MB / 0.7952 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.8575, allocations: 2.055 MB / 0.7972 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8575, allocations: 0 / 0.7972 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8575, allocations: 4.688 kB / 0.7972 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.8575, allocations: 0 / 0.7972 GB, free: 0.8164 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.003695/0.8612, allocations: 1.732 MB / 0.7989 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.8612, allocations: 8.875 kB / 0.7989 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.862, allocations: 183.5 kB / 0.7991 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.8634, allocations: 1.049 MB / 0.8001 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.8635, allocations: 51.05 kB / 0.8002 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.8637, allocations: 61.84 kB / 0.8002 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/0.8646, allocations: 0.6104 MB / 0.8008 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8647, allocations: 0.8438 kB / 0.8008 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.8647, allocations: 20.16 kB / 0.8008 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.8648, allocations: 22.81 kB / 0.8009 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.8659, allocations: 0.62 MB / 0.8015 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.003381/0.8693, allocations: 2.681 MB / 0.8041 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.8702, allocations: 0.535 MB / 0.8046 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.8708, allocations: 344.8 kB / 0.8049 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.8712, allocations: 295.7 kB / 0.8052 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.8712, allocations: 37.41 kB / 0.8052 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005688/0.8718, allocations: 139.2 kB / 0.8054 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.8718, allocations: 0.9062 kB / 0.8054 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002039/0.8738, allocations: 1.018 MB / 0.8064 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.8739, allocations: 56.62 kB / 0.8064 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.8755, allocations: 1.271 MB / 0.8077 GB, free: 14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.8756, allocations: 41.23 kB / 0.8077 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.876, allocations: 439.1 kB / 0.8081 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8761, allocations: 147.3 kB / 0.8083 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.8764, allocations: 121.2 kB / 0.8084 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8765, allocations: 322.2 kB / 0.8087 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.877, allocations: 272.5 kB / 0.8089 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.8777, allocations: 486.4 kB / 0.8094 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.8787, allocations: 0.5836 MB / 0.81 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8787, allocations: 3.188 kB / 0.81 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001341/0.8801, allocations: 0.7341 MB / 0.8107 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8801, allocations: 8.875 kB / 0.8107 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8801, allocations: 1.062 kB / 0.8107 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8801, allocations: 2.781 kB / 0.8107 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.8808, allocations: 118.8 kB / 0.8108 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8808, allocations: 5 kB / 0.8108 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8819, allocations: 102 kB / 0.8109 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.882, allocations: 24.92 kB / 0.811 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007217/0.8827, allocations: 466.4 kB / 0.8114 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006648/0.8834, allocations: 487.5 kB / 0.8119 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001/0.8844, allocations: 0.5839 MB / 0.8124 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.8844, allocations: 0 / 0.8124 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00134/0.8857, allocations: 0.7342 MB / 0.8131 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.8858, allocations: 7 kB / 0.8132 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.8858, allocations: 0.9375 kB / 0.8132 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.8858, allocations: 3.188 kB / 0.8132 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.8863, allocations: 119.6 kB / 0.8133 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.8863, allocations: 4.5 kB / 0.8133 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8875, allocations: 129.2 kB / 0.8134 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.8876, allocations: 23.22 kB / 0.8134 GB, free: 12.69 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.8878, allocations: 207 kB / 0.8136 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.888, allocations: 101.8 kB / 0.8137 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.8896, allocations: 0.8071 MB / 0.8145 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.8896, allocations: 6.75 kB / 0.8145 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8896, allocations: 12.72 kB / 0.8145 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8896, allocations: 3.047 kB / 0.8145 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.8924, allocations: 1.948 MB / 0.8164 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.8924, allocations: 7.375 kB / 0.8164 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.8929, allocations: 108.8 kB / 0.8165 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8929, allocations: 3.906 kB / 0.8165 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.893, allocations: 18.91 kB / 0.8166 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.893, allocations: 8.094 kB / 0.8166 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.893, allocations: 3.375 kB / 0.8166 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.8949, allocations: 1.233 MB / 0.8178 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.8953, allocations: 290.5 kB / 0.8181 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.8954, allocations: 18.83 kB / 0.8181 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.8963, allocations: 56.41 kB / 0.8181 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8964, allocations: 48.47 kB / 0.8182 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.8965, allocations: 18.98 kB / 0.8182 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001281/0.8978, allocations: 0.9234 MB / 0.8191 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8978, allocations: 0 / 0.8191 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001019/0.8988, allocations: 408 kB / 0.8195 GB, free: 9.922 MB / 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 (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.0004524/0.8993, allocations: 218.1 kB / 0.8197 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.9013, allocations: 1 MB / 0.8207 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9013, allocations: 3.938 kB / 0.8207 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.9019, allocations: 339.5 kB / 0.821 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.9037, allocations: 439.4 kB / 0.8214 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.9063, allocations: 1.741 MB / 0.8231 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.9069, allocations: 1.046 MB / 0.8241 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.9073, allocations: 96.31 kB / 0.8242 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of SimCode: time 4.9e-07/0.9073, allocations: 0 / 0.8242 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.02387/0.9312, allocations: 16.3 MB / 0.8401 GB, free: 8.523 MB / 0.6075 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)