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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001459/0.001459, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001922/0.001922, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.045/1.045, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 15.98 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2138, allocations: 83.41 MB / 0.5973 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5473/0.7612, allocations: 157.7 MB / 0.7513 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008725/0.7699, allocations: 4.139 MB / 0.7553 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.7718, allocations: 23.81 kB / 0.7553 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.7738, allocations: 462.9 kB / 0.7558 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006048/0.7799, allocations: 1.487 MB / 0.7572 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.7832, allocations: 0.9011 MB / 0.7581 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00334/0.7866, allocations: 1.3 MB / 0.7594 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.7885, allocations: 0.8685 MB / 0.7602 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.7907, allocations: 0.8372 MB / 0.761 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.7922, allocations: 0.6421 MB / 0.7617 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.7925, allocations: 60 kB / 0.7617 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.7945, allocations: 0.6591 MB / 0.7624 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.7949, allocations: 315 kB / 0.7627 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.7953, allocations: 225.1 kB / 0.7629 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.7971, allocations: 1.5 MB / 0.7644 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7971, allocations: 0 / 0.7644 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7971, allocations: 4 kB / 0.7644 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.7972, allocations: 0 / 0.7644 GB, free: 1.016 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.003989/0.8012, allocations: 1.494 MB / 0.7658 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8012, allocations: 8.031 kB / 0.7658 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.8023, allocations: 182.5 kB / 0.766 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.8043, allocations: 1.003 MB / 0.767 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.8044, allocations: 48.98 kB / 0.767 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.8046, allocations: 60 kB / 0.7671 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8057, allocations: 0.6115 MB / 0.7677 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8058, allocations: 0 / 0.7677 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.8058, allocations: 24 kB / 0.7677 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.8059, allocations: 17 kB / 0.7677 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.8071, allocations: 0.648 MB / 0.7684 GB, free: 12.81 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.004284/0.8114, allocations: 2.677 MB / 0.771 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.8126, allocations: 0.5706 MB / 0.7715 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.8127, allocations: 23.97 kB / 0.7715 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.8127, allocations: 38.5 kB / 0.7716 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000744/0.8135, allocations: 163.5 kB / 0.7717 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.8135, allocations: 3.938 kB / 0.7717 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002548/0.816, allocations: 1.05 MB / 0.7728 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.8161, allocations: 55.41 kB / 0.7728 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.8186, allocations: 1.263 MB / 0.7741 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.8187, allocations: 41.64 kB / 0.7741 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.8192, allocations: 441.7 kB / 0.7745 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.8193, allocations: 149.8 kB / 0.7747 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.8194, allocations: 8 kB / 0.7747 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.8196, allocations: 322 kB / 0.775 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.8202, allocations: 272.6 kB / 0.7752 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.8211, allocations: 484.2 kB / 0.7757 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.8218, allocations: 323.7 kB / 0.776 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.8218, allocations: 0 / 0.776 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001773/0.8236, allocations: 0.7572 MB / 0.7767 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8237, allocations: 99.44 kB / 0.7768 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8237, allocations: 0 / 0.7768 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.8237, allocations: 0 / 0.7768 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.8245, allocations: 135.8 kB / 0.777 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8245, allocations: 0 / 0.777 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.8259, allocations: 114.2 kB / 0.7771 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.826, allocations: 27.97 kB / 0.7771 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.826, allocations: 4.781 kB / 0.7771 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.8273, allocations: 0.6316 MB / 0.7777 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.8273, allocations: 0 / 0.7777 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.8273, allocations: 0 / 0.7777 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.8279, allocations: 131.8 kB / 0.7779 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.8279, allocations: 4 kB / 0.7779 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.8292, allocations: 122.8 kB / 0.778 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.8292, allocations: 31.92 kB / 0.778 GB, free: 2.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000553/0.8298, allocations: 325 kB / 0.7783 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.83, allocations: 99.41 kB / 0.7784 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.8317, allocations: 0.8304 MB / 0.7792 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8317, allocations: 4 kB / 0.7792 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8317, allocations: 0 / 0.7792 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.8318, allocations: 7.922 kB / 0.7792 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.8349, allocations: 1.984 MB / 0.7812 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.8349, allocations: 8.766 kB / 0.7812 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.8355, allocations: 115.8 kB / 0.7813 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.8355, allocations: 4 kB / 0.7813 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.8355, allocations: 16 kB / 0.7813 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.8356, allocations: 7.984 kB / 0.7813 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8356, allocations: 12.75 kB / 0.7813 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.8377, allocations: 1.371 MB / 0.7827 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.8382, allocations: 287.7 kB / 0.7829 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.8384, allocations: 15.98 kB / 0.783 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.8394, allocations: 79.91 kB / 0.783 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.8395, allocations: 50.72 kB / 0.7831 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.8395, allocations: 15.98 kB / 0.7831 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00142/0.841, allocations: 0.9169 MB / 0.784 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.841, allocations: 0 / 0.784 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001212/0.8422, allocations: 403.4 kB / 0.7844 GB, free: 11.9 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005095/0.8427, allocations: 216.5 kB / 0.7846 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8447, allocations: 0.9639 MB / 0.7855 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8447, allocations: 3.938 kB / 0.7855 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.8453, allocations: 351.7 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.8477, allocations: 462.3 kB / 0.7863 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.8505, allocations: 1.927 MB / 0.7882 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.8511, allocations: 1.069 MB / 0.7892 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001211/0.8523, allocations: 297.2 kB / 0.7895 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.8526, allocations: 95.38 kB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.8526, allocations: 0 / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.03427/0.8869, allocations: 19.83 MB / 0.809 GB, free: 2.965 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: