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.00896/0.00896, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001773/0.001773, allocations: 197.3 kB / 16.67 MB, free: 5.98 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.211 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 1.033/1.033, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.5955 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 82.02 MB / 0.6756 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1884/0.5658, allocations: 189.8 MB / 0.861 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007626/0.5735, allocations: 4.297 MB / 0.8652 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.5749, allocations: 27.81 kB / 0.8652 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.5764, allocations: 0.4928 MB / 0.8657 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.5806, allocations: 1.559 MB / 0.8672 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.5842, allocations: 1.353 MB / 0.8685 GB, free: 304 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.4136/0.9977, allocations: 2.264 MB / 0.8707 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.9995, allocations: 1.075 MB / 0.8718 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/1.002, allocations: 0.9471 MB / 0.8727 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/1.003, allocations: 0.8733 MB / 0.8735 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003654/1.004, allocations: 139.7 kB / 0.8737 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/1.007, allocations: 1.243 MB / 0.8749 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/1.007, allocations: 425.8 kB / 0.8753 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000752/1.008, allocations: 0.6478 MB / 0.8759 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/1.011, allocations: 2.075 MB / 0.878 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.011, allocations: 0 / 0.878 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.814e-06/1.011, allocations: 0.8438 kB / 0.878 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.011, allocations: 0.875 kB / 0.878 GB, free: 3.328 MB / 0.6856 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.004558/1.015, allocations: 1.722 MB / 0.8796 GB, free: 18.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.016, allocations: 10.53 kB / 0.8797 GB, free: 18.51 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/1.016, allocations: 189.3 kB / 0.8798 GB, free: 18.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/1.019, allocations: 1.072 MB / 0.8809 GB, free: 18.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/1.019, allocations: 43.45 kB / 0.8809 GB, free: 18.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.019, allocations: 58.91 kB / 0.881 GB, free: 18.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/1.02, allocations: 0.6166 MB / 0.8816 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.02, allocations: 0 / 0.8816 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/1.02, allocations: 19.62 kB / 0.8816 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/1.02, allocations: 19.67 kB / 0.8816 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.022, allocations: 0.631 MB / 0.8822 GB, free: 18.04 MB / 0.7012 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.004169/1.026, allocations: 2.655 MB / 0.8848 GB, free: 17.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.027, allocations: 0.5415 MB / 0.8854 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/1.028, allocations: 350.6 kB / 0.8857 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/1.028, allocations: 295.2 kB / 0.886 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.028, allocations: 45.45 kB / 0.886 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000729/1.029, allocations: 143.8 kB / 0.8861 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/1.029, allocations: 1.969 kB / 0.8862 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=43): time 0.0024/1.031, allocations: 1.014 MB / 0.8871 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.031, allocations: 60.52 kB / 0.8872 GB, free: 16.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.034, allocations: 1.272 MB / 0.8884 GB, free: 16.56 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/1.034, allocations: 38.67 kB / 0.8885 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.034, allocations: 433.2 kB / 0.8889 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/1.034, allocations: 153.3 kB / 0.889 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.034, allocations: 116.2 kB / 0.8891 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.035, allocations: 324.1 kB / 0.8895 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/1.035, allocations: 276.4 kB / 0.8897 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/1.036, allocations: 484.3 kB / 0.8902 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.037, allocations: 0.5864 MB / 0.8908 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.037, allocations: 3.844 kB / 0.8908 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001434/1.038, allocations: 0.7409 MB / 0.8915 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.038, allocations: 7.844 kB / 0.8915 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.038, allocations: 0 / 0.8915 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.038, allocations: 2.781 kB / 0.8915 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/1.039, allocations: 121.8 kB / 0.8916 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.039, allocations: 3.219 kB / 0.8916 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.04, allocations: 91.47 kB / 0.8917 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.04, allocations: 28.44 kB / 0.8917 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007456/1.041, allocations: 466.3 kB / 0.8922 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006365/1.042, allocations: 489.5 kB / 0.8926 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001009/1.043, allocations: 0.5819 MB / 0.8932 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/1.043, allocations: 1.672 kB / 0.8932 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001367/1.044, allocations: 0.7313 MB / 0.8939 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.044, allocations: 14.39 kB / 0.8939 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.044, allocations: 0 / 0.8939 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/1.044, allocations: 2.094 kB / 0.8939 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/1.045, allocations: 125.7 kB / 0.8941 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.045, allocations: 2.125 kB / 0.8941 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.046, allocations: 129 kB / 0.8942 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/1.046, allocations: 25.25 kB / 0.8942 GB, free: 15.26 MB / 0.7012 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.0001959/1.046, allocations: 205 kB / 0.8944 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/1.047, allocations: 112 kB / 0.8945 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/1.048, allocations: 0.8085 MB / 0.8953 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.048, allocations: 5.125 kB / 0.8953 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.048, allocations: 1.922 kB / 0.8953 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.048, allocations: 5.109 kB / 0.8953 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/1.051, allocations: 1.955 MB / 0.8972 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.051, allocations: 0 / 0.8972 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/1.052, allocations: 107.9 kB / 0.8973 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.052, allocations: 6.125 kB / 0.8973 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/1.052, allocations: 15.12 kB / 0.8973 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.052, allocations: 9.375 kB / 0.8974 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.052, allocations: 3.25 kB / 0.8974 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.053, allocations: 1.234 MB / 0.8986 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/1.054, allocations: 294.1 kB / 0.8988 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.054, allocations: 12.72 kB / 0.8989 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/1.055, allocations: 68.2 kB / 0.8989 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.055, allocations: 40.83 kB / 0.899 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/1.055, allocations: 20.61 kB / 0.899 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001235/1.056, allocations: 0.9197 MB / 0.8999 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/1.056, allocations: 3.375 kB / 0.8999 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001115/1.058, allocations: 404.8 kB / 0.9003 GB, free: 13.99 MB / 0.7012 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.0004772/1.058, allocations: 218.2 kB / 0.9005 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.06, allocations: 0.9448 MB / 0.9014 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.06, allocations: 2.812 kB / 0.9014 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/1.06, allocations: 341.4 kB / 0.9017 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.062, allocations: 428.7 kB / 0.9021 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/1.065, allocations: 1.674 MB / 0.9038 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/1.065, allocations: 1.041 MB / 0.9048 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009875/1.066, allocations: 298.6 kB / 0.9051 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.066, allocations: 99 kB / 0.9052 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of SimCode: time 4.21e-07/1.066, allocations: 0 / 0.9052 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of Templates: time 0.03623/1.103, allocations: 21.94 MB / 0.9266 GB, free: 7.172 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)