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.001496/0.001496, allocations: 104.3 kB / 16.27 MB, free: 5.98 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.001522/0.001522, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.446/1.446, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.007/2.007, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001509/0.001509, allocations: 83.02 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.228, allocations: 114.5 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5997/0.8277, allocations: 189.9 MB / 0.9695 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.8404, allocations: 7.467 MB / 0.9768 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.842, allocations: 39.69 kB / 0.9769 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.8439, allocations: 0.5434 MB / 0.9774 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.8484, allocations: 1.557 MB / 0.9789 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00758/0.856, allocations: 2.723 MB / 0.9816 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.8595, allocations: 2.284 MB / 0.9838 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.8613, allocations: 1.081 MB / 0.9848 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.8633, allocations: 0.9538 MB / 0.9858 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.8649, allocations: 0.8678 MB / 0.9866 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.8654, allocations: 136 kB / 0.9868 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.8684, allocations: 1.364 MB / 0.9881 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.8692, allocations: 430.6 kB / 0.9885 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.8705, allocations: 0.6609 MB / 0.9891 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.8743, allocations: 2.088 MB / 0.9912 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.8743, allocations: 6.531 kB / 0.9912 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8744, allocations: 0 / 0.9912 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.623e-05/0.8744, allocations: 0 / 0.9912 GB, free: 6.332 MB / 0.7794 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.005564/0.88, allocations: 1.766 MB / 0.9929 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8801, allocations: 8.031 kB / 0.9929 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.8812, allocations: 182.5 kB / 0.9931 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.8835, allocations: 1.057 MB / 0.9941 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.8836, allocations: 48.94 kB / 0.9942 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.8838, allocations: 67.98 kB / 0.9942 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.8853, allocations: 0.691 MB / 0.9949 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8853, allocations: 0 / 0.9949 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.8854, allocations: 16 kB / 0.9949 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.8854, allocations: 12 kB / 0.9949 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.8868, allocations: 0.6245 MB / 0.9956 GB, free: 1.734 MB / 0.7794 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.005438/0.8923, allocations: 2.678 MB / 0.9982 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.8936, allocations: 0.5582 MB / 0.9987 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.8942, allocations: 346.2 kB / 0.999 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.8947, allocations: 292.2 kB / 0.9993 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.8948, allocations: 39.67 kB / 0.9994 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008714/0.8956, allocations: 139.5 kB / 0.9995 GB, free: 13.49 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 4.789e-06/0.8957, allocations: 0 / 0.9995 GB, free: 13.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002684/0.8984, allocations: 1.027 MB / 1 GB, free: 12.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.8985, allocations: 140.4 kB / 1.001 GB, free: 12.29 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.9009, allocations: 1.288 MB / 1.002 GB, free: 10.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.9011, allocations: 37.7 kB / 1.002 GB, free: 10.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.9016, allocations: 453.2 kB / 1.002 GB, free: 10.49 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.9018, allocations: 157.8 kB / 1.003 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.9021, allocations: 122.1 kB / 1.003 GB, free: 10.21 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9022, allocations: 321.9 kB / 1.003 GB, free: 9.891 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.9028, allocations: 292.2 kB / 1.003 GB, free: 9.605 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.9037, allocations: 0.5201 MB / 1.004 GB, free: 9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.9051, allocations: 0.6102 MB / 1.004 GB, free: 8.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.9051, allocations: 0 / 1.004 GB, free: 8.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001898/0.907, allocations: 0.7836 MB / 1.005 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.907, allocations: 4 kB / 1.005 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.907, allocations: 4 kB / 1.005 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9071, allocations: 0 / 1.005 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.9077, allocations: 125.7 kB / 1.005 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.9078, allocations: 0 / 1.005 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.9092, allocations: 94.72 kB / 1.005 GB, free: 7.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.9093, allocations: 27.97 kB / 1.005 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009684/0.9103, allocations: 488.7 kB / 1.006 GB, free: 6.871 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008643/0.9112, allocations: 0.5119 MB / 1.006 GB, free: 6.273 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001246/0.9124, allocations: 0.6107 MB / 1.007 GB, free: 5.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.9124, allocations: 7.938 kB / 1.007 GB, free: 5.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00191/0.9144, allocations: 0.7629 MB / 1.008 GB, free: 4.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9144, allocations: 15.92 kB / 1.008 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9144, allocations: 0 / 1.008 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.9144, allocations: 4 kB / 1.008 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.9151, allocations: 115.8 kB / 1.008 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.9151, allocations: 4 kB / 1.008 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.9167, allocations: 125.6 kB / 1.008 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.9168, allocations: 29.53 kB / 1.008 GB, free: 4.598 MB / 0.795 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.0002772/0.9171, allocations: 204.1 kB / 1.008 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.9175, allocations: 108 kB / 1.008 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.9195, allocations: 0.808 MB / 1.009 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.9195, allocations: 15.94 kB / 1.009 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9195, allocations: 0 / 1.009 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.9196, allocations: 3.984 kB / 1.009 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/0.9234, allocations: 1.942 MB / 1.011 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9234, allocations: 4.062 kB / 1.011 GB, free: 1.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.924, allocations: 103.9 kB / 1.011 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.9241, allocations: 7.938 kB / 1.011 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.9241, allocations: 19.98 kB / 1.011 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.9241, allocations: 4 kB / 1.011 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9241, allocations: 8.562 kB / 1.011 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.9267, allocations: 1.245 MB / 1.012 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.9274, allocations: 291.5 kB / 1.013 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.9277, allocations: 19.98 kB / 1.013 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9289, allocations: 59.92 kB / 1.013 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.929, allocations: 43.94 kB / 1.013 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.929, allocations: 21.25 kB / 1.013 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001766/0.9308, allocations: 0.9213 MB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9308, allocations: 0 / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001801/0.9327, allocations: 459.3 kB / 1.014 GB, free: 14.17 MB / 0.8106 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.0007778/0.9334, allocations: 262.3 kB / 1.014 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.9361, allocations: 1.106 MB / 1.015 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.9361, allocations: 0 / 1.015 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.9369, allocations: 336.2 kB / 1.016 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.9397, allocations: 452.3 kB / 1.016 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.9429, allocations: 1.772 MB / 1.018 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.9437, allocations: 1.053 MB / 1.019 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.9442, allocations: 107.4 kB / 1.019 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/0.9442, allocations: 0 / 1.019 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.02886/0.9731, allocations: 17.44 MB / 1.036 GB, free: 7.855 MB / 0.8262 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)