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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.862/1.862, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001608/0.001608, allocations: 62.03 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8001/1.062, allocations: 190 MB / 0.9689 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0146/1.076, allocations: 7.467 MB / 0.9762 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/1.08, allocations: 38.72 kB / 0.9762 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/1.082, allocations: 0.5439 MB / 0.9767 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006208/1.088, allocations: 1.557 MB / 0.9783 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009807/1.098, allocations: 2.728 MB / 0.9809 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004089/1.102, allocations: 2.293 MB / 0.9832 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/1.104, allocations: 1.074 MB / 0.9842 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/1.106, allocations: 0.9519 MB / 0.9851 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.107, allocations: 0.8625 MB / 0.986 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/1.107, allocations: 139.7 kB / 0.9861 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/1.11, allocations: 1.37 MB / 0.9874 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004548/1.111, allocations: 434.9 kB / 0.9879 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007179/1.111, allocations: 0.6514 MB / 0.9885 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0032/1.115, allocations: 2.085 MB / 0.9905 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.115, allocations: 3.938 kB / 0.9905 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.654e-06/1.115, allocations: 0 / 0.9905 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.115, allocations: 2.688 kB / 0.9905 GB, free: 7.832 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.00408/1.119, allocations: 1.761 MB / 0.9923 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.119, allocations: 10.62 kB / 0.9923 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/1.12, allocations: 193.6 kB / 0.9925 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/1.121, allocations: 1.052 MB / 0.9935 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.122, allocations: 55.2 kB / 0.9935 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.122, allocations: 62.97 kB / 0.9936 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.123, allocations: 0.6866 MB / 0.9943 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.123, allocations: 0 / 0.9943 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/1.123, allocations: 20.88 kB / 0.9943 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.123, allocations: 10.09 kB / 0.9943 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/1.124, allocations: 0.6261 MB / 0.9949 GB, free: 4.887 MB / 0.7325 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.004116/1.128, allocations: 2.672 MB / 0.9975 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/1.13, allocations: 0.5573 MB / 0.9981 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/1.13, allocations: 349.8 kB / 0.9984 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/1.131, allocations: 292.5 kB / 0.9987 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/1.131, allocations: 44.81 kB / 0.9987 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007509/1.132, allocations: 138.5 kB / 0.9988 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/1.132, allocations: 3.938 kB / 0.9989 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002523/1.134, allocations: 1.034 MB / 0.9999 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/1.134, allocations: 132.8 kB / 1 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.136, allocations: 1.282 MB / 1.001 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/1.136, allocations: 41.45 kB / 1.001 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/1.137, allocations: 447.7 kB / 1.002 GB, free: 136 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.137, allocations: 153.8 kB / 1.002 GB, free: 0 / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.137, allocations: 130.4 kB / 1.002 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/1.137, allocations: 319.2 kB / 1.002 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/1.138, allocations: 287 kB / 1.003 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.139, allocations: 0.5176 MB / 1.003 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.14, allocations: 0.6181 MB / 1.004 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.14, allocations: 1.688 kB / 1.004 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001553/1.141, allocations: 0.7773 MB / 1.004 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.141, allocations: 4.719 kB / 1.004 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.141, allocations: 10.52 kB / 1.004 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.141, allocations: 2.906 kB / 1.004 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/1.142, allocations: 113.7 kB / 1.005 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.142, allocations: 2.688 kB / 1.005 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.143, allocations: 91.78 kB / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/1.143, allocations: 26.72 kB / 1.005 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009183/1.144, allocations: 491.2 kB / 1.005 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008365/1.145, allocations: 0.5053 MB / 1.006 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/1.146, allocations: 0.6232 MB / 1.006 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/1.146, allocations: 3.938 kB / 1.006 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00198/1.148, allocations: 0.7671 MB / 1.007 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.148, allocations: 8.719 kB / 1.007 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.148, allocations: 2.656 kB / 1.007 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/1.148, allocations: 5.844 kB / 1.007 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/1.149, allocations: 114.5 kB / 1.007 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.149, allocations: 2.469 kB / 1.007 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.151, allocations: 133.3 kB / 1.007 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/1.151, allocations: 30.66 kB / 1.007 GB, free: 12.72 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.0002633/1.151, allocations: 206.8 kB / 1.007 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/1.151, allocations: 108.7 kB / 1.008 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/1.153, allocations: 0.8063 MB / 1.008 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.153, allocations: 4.812 kB / 1.008 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.153, allocations: 0 / 1.008 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.153, allocations: 10.45 kB / 1.008 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/1.156, allocations: 1.949 MB / 1.01 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.156, allocations: 2.688 kB / 1.01 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/1.157, allocations: 101.4 kB / 1.01 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/1.157, allocations: 13.3 kB / 1.01 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/1.157, allocations: 16.16 kB / 1.01 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.157, allocations: 2.812 kB / 1.01 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.157, allocations: 10.78 kB / 1.01 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/1.159, allocations: 1.238 MB / 1.012 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/1.16, allocations: 279.5 kB / 1.012 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.16, allocations: 24.64 kB / 1.012 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/1.161, allocations: 65.23 kB / 1.012 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.161, allocations: 41.81 kB / 1.012 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/1.161, allocations: 15.19 kB / 1.012 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001523/1.163, allocations: 0.9273 MB / 1.013 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.163, allocations: 0 / 1.013 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001478/1.164, allocations: 457.5 kB / 1.013 GB, free: 8.922 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.0005845/1.165, allocations: 259.3 kB / 1.014 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.167, allocations: 1.098 MB / 1.015 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.167, allocations: 0 / 1.015 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/1.168, allocations: 338.4 kB / 1.015 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.17, allocations: 464.5 kB / 1.015 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/1.173, allocations: 1.723 MB / 1.017 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/1.173, allocations: 1.056 MB / 1.018 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001164/1.174, allocations: 300.1 kB / 1.018 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/1.175, allocations: 95.41 kB / 1.019 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of SimCode: time 7.11e-07/1.175, allocations: 0 / 1.019 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of Templates: time 0.03912/1.214, allocations: 22.69 MB / 1.041 GB, free: 0.5977 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)