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.001033/0.001033, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001065/0.001065, allocations: 191.7 kB / 16.25 MB, free: 6.582 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.9838/0.9838, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 0.5137 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1896, allocations: 82.03 MB / 0.5938 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4674/0.657, allocations: 187.3 MB / 0.7767 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007203/0.6643, allocations: 4.26 MB / 0.7808 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.6654, allocations: 23.81 kB / 0.7808 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.667, allocations: 437.6 kB / 0.7813 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.6706, allocations: 1.471 MB / 0.7827 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.6737, allocations: 1.238 MB / 0.7839 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.6764, allocations: 2.268 MB / 0.7861 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.6778, allocations: 1.059 MB / 0.7872 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.6793, allocations: 0.9692 MB / 0.7881 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.6805, allocations: 0.8912 MB / 0.789 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.6807, allocations: 140 kB / 0.7891 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.6827, allocations: 1.278 MB / 0.7904 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.6831, allocations: 430.7 kB / 0.7908 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.6837, allocations: 0.6453 MB / 0.7914 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.6857, allocations: 2.13 MB / 0.7935 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6857, allocations: 0 / 0.7935 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6858, allocations: 0 / 0.7935 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.6858, allocations: 0 / 0.7935 GB, free: 1.059 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.004015/0.6898, allocations: 1.728 MB / 0.7952 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6898, allocations: 8.031 kB / 0.7952 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.6906, allocations: 187 kB / 0.7954 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.6921, allocations: 1.041 MB / 0.7964 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.6923, allocations: 56.98 kB / 0.7964 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6924, allocations: 63.94 kB / 0.7965 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6936, allocations: 0.6115 MB / 0.7971 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6936, allocations: 3.938 kB / 0.7971 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.6937, allocations: 16 kB / 0.7971 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.6937, allocations: 28.25 kB / 0.7971 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.6951, allocations: 0.6168 MB / 0.7977 GB, free: 12.6 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.003935/0.6991, allocations: 2.674 MB / 0.8003 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.7002, allocations: 0.5334 MB / 0.8009 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.7008, allocations: 345.2 kB / 0.8012 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.7011, allocations: 299.2 kB / 0.8015 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.7012, allocations: 38.56 kB / 0.8015 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006824/0.7019, allocations: 155.6 kB / 0.8017 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.7019, allocations: 0 / 0.8017 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002188/0.7041, allocations: 1.019 MB / 0.8027 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.7041, allocations: 55.41 kB / 0.8027 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7059, allocations: 1.267 MB / 0.8039 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.706, allocations: 41.7 kB / 0.804 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.7063, allocations: 441.6 kB / 0.8044 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.7064, allocations: 149.8 kB / 0.8046 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.7066, allocations: 117.9 kB / 0.8047 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.7068, allocations: 326 kB / 0.805 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.7073, allocations: 266.2 kB / 0.8052 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.708, allocations: 490.5 kB / 0.8057 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7092, allocations: 0.5887 MB / 0.8063 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7092, allocations: 3.938 kB / 0.8063 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001406/0.7106, allocations: 0.7301 MB / 0.807 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7106, allocations: 12 kB / 0.807 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7106, allocations: 0 / 0.807 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7106, allocations: 3.984 kB / 0.807 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.7113, allocations: 119.8 kB / 0.8071 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7113, allocations: 0 / 0.8071 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.7125, allocations: 108.7 kB / 0.8072 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.7126, allocations: 19.97 kB / 0.8072 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007457/0.7133, allocations: 472.5 kB / 0.8077 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007111/0.7141, allocations: 481.9 kB / 0.8082 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.7151, allocations: 0.5837 MB / 0.8087 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.7152, allocations: 3.938 kB / 0.8087 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001406/0.7166, allocations: 0.7344 MB / 0.8094 GB, free: 144 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.7166, allocations: 4 kB / 0.8094 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.7166, allocations: 8.609 kB / 0.8095 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.7166, allocations: 0 / 0.8095 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.7172, allocations: 119.8 kB / 0.8096 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.7172, allocations: 7.938 kB / 0.8096 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.7186, allocations: 137.7 kB / 0.8097 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.7187, allocations: 23.97 kB / 0.8097 GB, free: 15.85 MB / 0.6387 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.0001987/0.7189, allocations: 208.1 kB / 0.8099 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.7191, allocations: 106.7 kB / 0.81 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.7207, allocations: 0.8044 MB / 0.8108 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7207, allocations: 4.5 kB / 0.8108 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7207, allocations: 0 / 0.8108 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7207, allocations: 0 / 0.8108 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.7236, allocations: 1.96 MB / 0.8127 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7237, allocations: 4.75 kB / 0.8127 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.7242, allocations: 107.8 kB / 0.8128 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7242, allocations: 4 kB / 0.8128 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.7243, allocations: 15.94 kB / 0.8129 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7243, allocations: 6.375 kB / 0.8129 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7243, allocations: 4 kB / 0.8129 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7264, allocations: 1.236 MB / 0.8141 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.7268, allocations: 295.7 kB / 0.8144 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.7269, allocations: 15.94 kB / 0.8144 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.728, allocations: 75.81 kB / 0.8144 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.7281, allocations: 39.89 kB / 0.8145 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.7282, allocations: 23.98 kB / 0.8145 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001436/0.7296, allocations: 0.9169 MB / 0.8154 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7296, allocations: 0 / 0.8154 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001411/0.731, allocations: 411.4 kB / 0.8158 GB, free: 9.473 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.000716/0.7318, allocations: 226.7 kB / 0.816 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.7341, allocations: 0.9943 MB / 0.817 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7341, allocations: 0 / 0.817 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.7347, allocations: 340.1 kB / 0.8173 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.7366, allocations: 439.9 kB / 0.8177 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.7392, allocations: 1.988 MB / 0.8197 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.7397, allocations: 1.041 MB / 0.8207 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001054/0.7408, allocations: 283.9 kB / 0.821 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.7411, allocations: 103.3 kB / 0.8211 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7411, allocations: 0 / 0.8211 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of Templates: time 0.03143/0.7725, allocations: 21.15 MB / 0.8417 GB, free: 15.16 MB / 0.67 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)