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.005799/0.005799, allocations: 102.3 kB / 15.74 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.001459/0.001459, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.035/1.035, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 63.89 kB / 0.5955 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5322, allocations: 82.03 MB / 0.6756 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2472/0.7795, allocations: 189.8 MB / 0.861 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007793/0.7873, allocations: 4.295 MB / 0.8652 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.7885, allocations: 27.81 kB / 0.8652 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.79, allocations: 0.5005 MB / 0.8657 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.7937, allocations: 1.563 MB / 0.8672 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.7973, allocations: 1.343 MB / 0.8685 GB, free: 324 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.4768/1.274, allocations: 2.266 MB / 0.8707 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/1.276, allocations: 1.072 MB / 0.8718 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/1.278, allocations: 0.9508 MB / 0.8727 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.28, allocations: 0.8725 MB / 0.8735 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/1.28, allocations: 139.9 kB / 0.8737 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/1.283, allocations: 1.242 MB / 0.8749 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/1.284, allocations: 428 kB / 0.8753 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000848/1.285, allocations: 0.6427 MB / 0.8759 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/1.288, allocations: 2.082 MB / 0.878 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.288, allocations: 0.6875 kB / 0.878 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/1.289, allocations: 0 / 0.878 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.513e-05/1.289, allocations: 1.594 kB / 0.878 GB, free: 3.223 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.005287/1.294, allocations: 1.772 MB / 0.8797 GB, free: 18.36 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.294, allocations: 10.38 kB / 0.8797 GB, free: 18.36 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.295, allocations: 191.8 kB / 0.8799 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/1.298, allocations: 1.079 MB / 0.8809 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/1.298, allocations: 44.59 kB / 0.881 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.298, allocations: 62.22 kB / 0.881 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.299, allocations: 0.6122 MB / 0.8816 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.299, allocations: 0.6562 kB / 0.8816 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/1.3, allocations: 20.56 kB / 0.8817 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/1.3, allocations: 19.48 kB / 0.8817 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.301, allocations: 0.6252 MB / 0.8823 GB, free: 17.88 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.005629/1.307, allocations: 2.674 MB / 0.8849 GB, free: 17.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/1.308, allocations: 0.5365 MB / 0.8854 GB, free: 17.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/1.309, allocations: 351.2 kB / 0.8858 GB, free: 17.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004578/1.309, allocations: 288.8 kB / 0.886 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.309, allocations: 44.78 kB / 0.8861 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008923/1.31, allocations: 140.6 kB / 0.8862 GB, free: 16.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 3.947e-06/1.31, allocations: 0.9375 kB / 0.8862 GB, free: 16.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=43): time 0.002736/1.313, allocations: 1.017 MB / 0.8872 GB, free: 16.6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.313, allocations: 68.05 kB / 0.8873 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.316, allocations: 1.269 MB / 0.8885 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/1.316, allocations: 40.78 kB / 0.8886 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/1.316, allocations: 439.9 kB / 0.889 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.317, allocations: 158.9 kB / 0.8891 GB, free: 16.13 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.317, allocations: 121.3 kB / 0.8892 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.317, allocations: 317.6 kB / 0.8895 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/1.318, allocations: 273 kB / 0.8898 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/1.319, allocations: 490.2 kB / 0.8903 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.32, allocations: 0.5866 MB / 0.8908 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.32, allocations: 0.625 kB / 0.8908 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001631/1.321, allocations: 0.7477 MB / 0.8916 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.321, allocations: 5.812 kB / 0.8916 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.321, allocations: 0 / 0.8916 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.321, allocations: 4.781 kB / 0.8916 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/1.322, allocations: 124.9 kB / 0.8917 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.322, allocations: 2.625 kB / 0.8917 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.324, allocations: 93.84 kB / 0.8918 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/1.324, allocations: 28.34 kB / 0.8918 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008779/1.325, allocations: 467.3 kB / 0.8923 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007267/1.325, allocations: 487.3 kB / 0.8927 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001139/1.326, allocations: 0.5842 MB / 0.8933 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/1.326, allocations: 0.6562 kB / 0.8933 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001599/1.328, allocations: 0.7348 MB / 0.894 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.328, allocations: 10.75 kB / 0.894 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.328, allocations: 0.7812 kB / 0.894 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/1.328, allocations: 3.438 kB / 0.894 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.329, allocations: 120.6 kB / 0.8941 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.329, allocations: 6.312 kB / 0.8942 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.33, allocations: 123.9 kB / 0.8943 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/1.33, allocations: 25.22 kB / 0.8943 GB, free: 15.08 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.0002555/1.331, allocations: 205.4 kB / 0.8945 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.331, allocations: 113.5 kB / 0.8946 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/1.333, allocations: 0.8091 MB / 0.8954 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.333, allocations: 5.25 kB / 0.8954 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.333, allocations: 4.344 kB / 0.8954 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.333, allocations: 2.578 kB / 0.8954 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/1.336, allocations: 1.959 MB / 0.8973 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.336, allocations: 2.75 kB / 0.8973 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/1.337, allocations: 105.8 kB / 0.8974 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/1.337, allocations: 5.141 kB / 0.8974 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/1.337, allocations: 19.91 kB / 0.8974 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.337, allocations: 6.562 kB / 0.8975 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.337, allocations: 10.41 kB / 0.8975 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/1.339, allocations: 1.233 MB / 0.8987 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/1.339, allocations: 300.4 kB / 0.899 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.34, allocations: 17.23 kB / 0.899 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/1.341, allocations: 67.77 kB / 0.899 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.341, allocations: 41.86 kB / 0.8991 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/1.341, allocations: 13.66 kB / 0.8991 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001511/1.342, allocations: 0.9241 MB / 0.9 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.42e-07/1.342, allocations: 1.203 kB / 0.9 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001385/1.344, allocations: 413.1 kB / 0.9004 GB, free: 13.79 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.0006625/1.344, allocations: 212.1 kB / 0.9006 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.347, allocations: 0.9409 MB / 0.9015 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.347, allocations: 0.9375 kB / 0.9015 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/1.347, allocations: 332.3 kB / 0.9018 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.349, allocations: 443.3 kB / 0.9022 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/1.352, allocations: 1.71 MB / 0.9039 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/1.353, allocations: 1.042 MB / 0.9049 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001269/1.354, allocations: 288.6 kB / 0.9052 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.355, allocations: 98.58 kB / 0.9053 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.355, allocations: 0.9375 kB / 0.9053 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of Templates: time 0.03995/1.395, allocations: 21.47 MB / 0.9263 GB, free: 7.281 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)