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.001201/0.001201, allocations: 103.2 kB / 15.98 MB, free: 5.891 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.001211/0.001211, allocations: 189.4 kB / 16.91 MB, free: 5.746 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.439/1.439, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.736/1.736, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001366/0.001367, allocations: 66.44 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2379, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5853/0.8232, allocations: 187.5 MB / 0.9666 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.8356, allocations: 7.509 MB / 0.9739 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.8374, allocations: 33.41 kB / 0.974 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.8391, allocations: 481.4 kB / 0.9744 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.8431, allocations: 1.455 MB / 0.9758 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007207/0.8503, allocations: 2.496 MB / 0.9783 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003457/0.8538, allocations: 2.3 MB / 0.9805 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.8555, allocations: 1.056 MB / 0.9816 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.8574, allocations: 0.9759 MB / 0.9825 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.8586, allocations: 0.885 MB / 0.9834 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.8589, allocations: 140.2 kB / 0.9835 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.8616, allocations: 1.409 MB / 0.9849 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.862, allocations: 428.8 kB / 0.9853 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008856/0.8629, allocations: 0.655 MB / 0.9859 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.865, allocations: 1.641 MB / 0.9875 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.865, allocations: 0 / 0.9875 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.865, allocations: 0 / 0.9875 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.865, allocations: 0 / 0.9875 GB, free: 4.391 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.004247/0.8693, allocations: 1.767 MB / 0.9893 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8693, allocations: 9.5 kB / 0.9893 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.8702, allocations: 197.2 kB / 0.9895 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8717, allocations: 1.043 MB / 0.9905 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.8719, allocations: 58.64 kB / 0.9905 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.872, allocations: 58.22 kB / 0.9906 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8732, allocations: 0.6985 MB / 0.9913 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8732, allocations: 0 / 0.9913 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.8733, allocations: 19.81 kB / 0.9913 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.8733, allocations: 10.88 kB / 0.9913 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8745, allocations: 0.6163 MB / 0.9919 GB, free: 18.11 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.003975/0.8784, allocations: 2.669 MB / 0.9945 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.8795, allocations: 0.5571 MB / 0.9951 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.88, allocations: 348.1 kB / 0.9954 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.8804, allocations: 289.2 kB / 0.9957 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.8805, allocations: 46.42 kB / 0.9957 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008677/0.8813, allocations: 160.2 kB / 0.9959 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.8814, allocations: 4 kB / 0.9959 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43): time 0.002253/0.8836, allocations: 1.03 MB / 0.9969 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.8837, allocations: 130.9 kB / 0.997 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.8856, allocations: 1.283 MB / 0.9982 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.8857, allocations: 39.56 kB / 0.9983 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.8861, allocations: 452.3 kB / 0.9987 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.8862, allocations: 155 kB / 0.9989 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.8864, allocations: 123.2 kB / 0.999 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8866, allocations: 328 kB / 0.9993 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.8871, allocations: 286.1 kB / 0.9996 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.8879, allocations: 0.5204 MB / 1 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.8891, allocations: 0.6149 MB / 1.001 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8891, allocations: 0 / 1.001 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001809/0.8909, allocations: 0.7857 MB / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.891, allocations: 4.719 kB / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.891, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.891, allocations: 6.109 kB / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.8916, allocations: 115.8 kB / 1.002 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.8917, allocations: 3.984 kB / 1.002 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8931, allocations: 103.7 kB / 1.002 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.8932, allocations: 25.16 kB / 1.002 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008716/0.8941, allocations: 493.1 kB / 1.002 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007538/0.8948, allocations: 0.5069 MB / 1.003 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001135/0.896, allocations: 0.6056 MB / 1.003 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-06/0.896, allocations: 3.938 kB / 1.003 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001681/0.8977, allocations: 0.7822 MB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8977, allocations: 7.359 kB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8977, allocations: 2.625 kB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.8977, allocations: 4.812 kB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.8984, allocations: 113.9 kB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8984, allocations: 4.781 kB / 1.004 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8998, allocations: 141 kB / 1.004 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.8999, allocations: 23.06 kB / 1.004 GB, free: 11.91 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.0002407/0.9001, allocations: 216.4 kB / 1.005 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9004, allocations: 105.2 kB / 1.005 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.902, allocations: 0.8076 MB / 1.005 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.902, allocations: 7.203 kB / 1.005 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9021, allocations: 0 / 1.005 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.9021, allocations: 1.547 kB / 1.005 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.9051, allocations: 1.957 MB / 1.007 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.9051, allocations: 5.938 kB / 1.007 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.9057, allocations: 106.7 kB / 1.007 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.9057, allocations: 12.81 kB / 1.007 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.9058, allocations: 16.28 kB / 1.007 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.9058, allocations: 4.531 kB / 1.007 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.9058, allocations: 6.219 kB / 1.007 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.9078, allocations: 1.244 MB / 1.009 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.9083, allocations: 287 kB / 1.009 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.9085, allocations: 17.36 kB / 1.009 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.9095, allocations: 77.12 kB / 1.009 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.9096, allocations: 40.89 kB / 1.009 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.9097, allocations: 21.45 kB / 1.009 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001368/0.911, allocations: 0.9278 MB / 1.01 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.911, allocations: 0 / 1.01 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001285/0.9123, allocations: 448.6 kB / 1.01 GB, free: 8.539 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.0006156/0.913, allocations: 262.7 kB / 1.011 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.9152, allocations: 1.093 MB / 1.012 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9152, allocations: 3.219 kB / 1.012 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.9159, allocations: 332 kB / 1.012 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.9181, allocations: 466 kB / 1.013 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.921, allocations: 2.069 MB / 1.015 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.9217, allocations: 1.051 MB / 1.016 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.9222, allocations: 102.5 kB / 1.016 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.9222, allocations: 0 / 1.016 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of Templates: time 0.02534/0.9475, allocations: 17.43 MB / 1.033 GB, free: 10.3 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)