Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001279/0.001279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001609/0.00161, allocations: 190.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 66.61 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9351/1.195, allocations: 187.5 MB / 0.9659 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02305/1.218, allocations: 7.513 MB / 0.9733 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/1.222, allocations: 33.59 kB / 0.9733 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003472/1.226, allocations: 481.6 kB / 0.9738 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009914/1.236, allocations: 1.455 MB / 0.9752 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01643/1.252, allocations: 2.498 MB / 0.9776 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007676/1.26, allocations: 2.301 MB / 0.9799 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003428/1.263, allocations: 1.054 MB / 0.9809 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/1.268, allocations: 0.9758 MB / 0.9819 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/1.271, allocations: 0.8847 MB / 0.9827 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009909/1.272, allocations: 139.5 kB / 0.9828 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/1.279, allocations: 1.409 MB / 0.9842 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.28, allocations: 430.3 kB / 0.9846 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003415/1.284, allocations: 0.6503 MB / 0.9853 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.297, allocations: 2.18 MB / 0.9874 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/1.297, allocations: 3.938 kB / 0.9874 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.948e-06/1.298, allocations: 2.969 kB / 0.9874 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.545e-05/1.298, allocations: 0 / 0.9874 GB, free: 4.168 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0106/1.308, allocations: 1.761 MB / 0.9891 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/1.308, allocations: 10.53 kB / 0.9891 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/1.31, allocations: 188.3 kB / 0.9893 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/1.314, allocations: 1.057 MB / 0.9903 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/1.315, allocations: 52.28 kB / 0.9904 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/1.315, allocations: 63.12 kB / 0.9905 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.318, allocations: 0.6903 MB / 0.9911 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.318, allocations: 3.984 kB / 0.9911 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.318, allocations: 19.41 kB / 0.9912 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/1.318, allocations: 11.44 kB / 0.9912 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/1.32, allocations: 0.6194 MB / 0.9918 GB, free: 17.89 MB / 0.7481 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.01022/1.33, allocations: 2.668 MB / 0.9944 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.333, allocations: 0.553 MB / 0.9949 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.334, allocations: 344.9 kB / 0.9952 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/1.334, allocations: 289.3 kB / 0.9955 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/1.334, allocations: 47.2 kB / 0.9956 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001854/1.336, allocations: 157.9 kB / 0.9957 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 1.041e-05/1.336, allocations: 3.938 kB / 0.9957 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43): time 0.004561/1.341, allocations: 1.036 MB / 0.9967 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.341, allocations: 133.8 kB / 0.9969 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/1.345, allocations: 1.279 MB / 0.9981 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/1.346, allocations: 38.11 kB / 0.9981 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/1.346, allocations: 452.4 kB / 0.9986 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/1.347, allocations: 149.7 kB / 0.9987 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006014/1.347, allocations: 135.3 kB / 0.9988 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.348, allocations: 321.8 kB / 0.9992 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.349, allocations: 288.6 kB / 0.9994 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/1.35, allocations: 0.5157 MB / 0.9999 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/1.353, allocations: 0.6151 MB / 1.001 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.353, allocations: 2.203 kB / 1.001 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002378/1.355, allocations: 0.7795 MB / 1.001 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/1.355, allocations: 9.094 kB / 1.001 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.355, allocations: 4.688 kB / 1.001 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.355, allocations: 0 / 1.001 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/1.356, allocations: 116.8 kB / 1.001 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.356, allocations: 4.062 kB / 1.001 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.357, allocations: 110.4 kB / 1.002 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/1.358, allocations: 25.88 kB / 1.002 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/1.359, allocations: 492.8 kB / 1.002 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008099/1.359, allocations: 0.5037 MB / 1.003 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001258/1.361, allocations: 0.6122 MB / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/1.361, allocations: 6.406 kB / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001807/1.362, allocations: 0.7766 MB / 1.004 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.363, allocations: 3.406 kB / 1.004 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.363, allocations: 3.922 kB / 1.004 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.363, allocations: 2.656 kB / 1.004 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/1.363, allocations: 117.5 kB / 1.004 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.363, allocations: 4 kB / 1.004 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.365, allocations: 138.2 kB / 1.004 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.365, allocations: 28.05 kB / 1.004 GB, free: 11.69 MB / 0.7481 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003244/1.365, allocations: 211.2 kB / 1.004 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/1.366, allocations: 107.1 kB / 1.004 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.368, allocations: 0.8145 MB / 1.005 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.368, allocations: 5.125 kB / 1.005 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.368, allocations: 0 / 1.005 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.368, allocations: 3.047 kB / 1.005 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/1.372, allocations: 1.951 MB / 1.007 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.372, allocations: 8.766 kB / 1.007 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/1.373, allocations: 104.5 kB / 1.007 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.373, allocations: 10.34 kB / 1.007 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/1.373, allocations: 17.05 kB / 1.007 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/1.373, allocations: 7.562 kB / 1.007 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.373, allocations: 3.125 kB / 1.007 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/1.375, allocations: 1.233 MB / 1.009 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/1.375, allocations: 291.9 kB / 1.009 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.376, allocations: 12.31 kB / 1.009 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.377, allocations: 84.89 kB / 1.009 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.377, allocations: 46.19 kB / 1.009 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/1.377, allocations: 17.28 kB / 1.009 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001581/1.378, allocations: 0.9316 MB / 1.01 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.01e-07/1.378, allocations: 4 kB / 1.01 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00159/1.38, allocations: 451.3 kB / 1.01 GB, free: 8.246 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[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.0007476/1.381, allocations: 254.1 kB / 1.011 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002775/1.384, allocations: 1.1 MB / 1.012 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.384, allocations: 4 kB / 1.012 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006734/1.384, allocations: 334.3 kB / 1.012 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.386, allocations: 452.7 kB / 1.012 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/1.39, allocations: 2.03 MB / 1.014 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/1.39, allocations: 1.053 MB / 1.015 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001392/1.392, allocations: 293.7 kB / 1.016 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/1.392, allocations: 98.56 kB / 1.016 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of SimCode: time 1.754e-06/1.392, allocations: 0 / 1.016 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of Templates: time 0.04523/1.437, allocations: 22.48 MB / 1.038 GB, free: 4.742 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)