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.001647/0.001648, allocations: 105.4 kB / 15.7 MB, free: 24 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.001583/0.001583, allocations: 197.5 kB / 16.64 MB, free: 6.449 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.811/1.811, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001486/0.001486, allocations: 78.47 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3447, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.956/1.301, allocations: 190 MB / 0.9696 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.316, allocations: 7.47 MB / 0.9769 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/1.319, allocations: 34.94 kB / 0.977 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/1.321, allocations: 0.5406 MB / 0.9775 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/1.327, allocations: 1.555 MB / 0.979 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009837/1.337, allocations: 2.758 MB / 0.9817 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00468/1.341, allocations: 2.295 MB / 0.9839 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/1.343, allocations: 1.082 MB / 0.985 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/1.345, allocations: 0.9572 MB / 0.9859 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/1.346, allocations: 0.8694 MB / 0.9868 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/1.347, allocations: 141.2 kB / 0.9869 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/1.35, allocations: 1.369 MB / 0.9883 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/1.35, allocations: 431.2 kB / 0.9887 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007354/1.351, allocations: 0.6479 MB / 0.9893 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/1.354, allocations: 2.117 MB / 0.9914 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.354, allocations: 3.938 kB / 0.9914 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.618e-06/1.354, allocations: 0 / 0.9914 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.354, allocations: 7.938 kB / 0.9914 GB, free: 7.887 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.004173/1.358, allocations: 1.752 MB / 0.9931 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.358, allocations: 10.09 kB / 0.9931 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/1.359, allocations: 186.4 kB / 0.9933 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.361, allocations: 1.089 MB / 0.9943 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/1.361, allocations: 45.94 kB / 0.9944 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.361, allocations: 66.03 kB / 0.9944 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.363, allocations: 0.6947 MB / 0.9951 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.363, allocations: 3 kB / 0.9951 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/1.363, allocations: 18.72 kB / 0.9951 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.363, allocations: 12.53 kB / 0.9952 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.364, allocations: 0.6142 MB / 0.9958 GB, free: 4.941 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.004359/1.368, allocations: 2.671 MB / 0.9984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.369, allocations: 0.5517 MB / 0.9989 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/1.37, allocations: 353 kB / 0.9992 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/1.371, allocations: 291.8 kB / 0.9995 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.371, allocations: 40.95 kB / 0.9996 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006532/1.371, allocations: 147.7 kB / 0.9997 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/1.371, allocations: 4 kB / 0.9997 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002383/1.374, allocations: 1.025 MB / 1.001 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/1.374, allocations: 136 kB / 1.001 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/1.376, allocations: 1.282 MB / 1.002 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/1.376, allocations: 45.42 kB / 1.002 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.376, allocations: 449.5 kB / 1.003 GB, free: 188 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.376, allocations: 151 kB / 1.003 GB, free: 60 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.377, allocations: 124.3 kB / 1.003 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.377, allocations: 327 kB / 1.003 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.377, allocations: 283.2 kB / 1.003 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/1.378, allocations: 0.5122 MB / 1.004 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.379, allocations: 0.6196 MB / 1.005 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.379, allocations: 0 / 1.005 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001588/1.381, allocations: 0.7868 MB / 1.005 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.381, allocations: 4.906 kB / 1.005 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.381, allocations: 2.359 kB / 1.005 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.381, allocations: 3.938 kB / 1.005 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/1.382, allocations: 119.9 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.382, allocations: 3.219 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.383, allocations: 99.44 kB / 1.005 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/1.383, allocations: 20.83 kB / 1.006 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008572/1.384, allocations: 492 kB / 1.006 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007864/1.385, allocations: 0.5075 MB / 1.006 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001159/1.386, allocations: 0.6181 MB / 1.007 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.386, allocations: 0 / 1.007 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001532/1.387, allocations: 0.7762 MB / 1.008 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.387, allocations: 4.719 kB / 1.008 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.387, allocations: 7.922 kB / 1.008 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-06/1.387, allocations: 2.594 kB / 1.008 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/1.388, allocations: 117.7 kB / 1.008 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/1.388, allocations: 2.781 kB / 1.008 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.389, allocations: 127.8 kB / 1.008 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/1.389, allocations: 27.06 kB / 1.008 GB, free: 12.77 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.0002307/1.39, allocations: 210.2 kB / 1.008 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/1.39, allocations: 105.5 kB / 1.008 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.391, allocations: 0.8063 MB / 1.009 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.391, allocations: 4.906 kB / 1.009 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.391, allocations: 0 / 1.009 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.392, allocations: 5.953 kB / 1.009 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/1.395, allocations: 1.964 MB / 1.011 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.395, allocations: 7.062 kB / 1.011 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/1.395, allocations: 108 kB / 1.011 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.395, allocations: 2.906 kB / 1.011 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/1.395, allocations: 19.97 kB / 1.011 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.395, allocations: 6.031 kB / 1.011 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.395, allocations: 10.03 kB / 1.011 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/1.398, allocations: 1.236 MB / 1.012 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/1.398, allocations: 283.9 kB / 1.013 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.398, allocations: 19.34 kB / 1.013 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/1.399, allocations: 61.7 kB / 1.013 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.399, allocations: 42 kB / 1.013 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/1.399, allocations: 19.97 kB / 1.013 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001443/1.401, allocations: 0.9236 MB / 1.014 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.401, allocations: 0 / 1.014 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001627/1.402, allocations: 450.3 kB / 1.014 GB, free: 8.973 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.0006763/1.403, allocations: 267.3 kB / 1.014 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002163/1.405, allocations: 1.044 MB / 1.016 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.405, allocations: 0 / 1.016 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/1.406, allocations: 341.7 kB / 1.016 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.408, allocations: 459.6 kB / 1.016 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/1.411, allocations: 1.702 MB / 1.018 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/1.411, allocations: 1.056 MB / 1.019 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001341/1.413, allocations: 291.8 kB / 1.019 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.413, allocations: 101.6 kB / 1.019 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/1.413, allocations: 0 / 1.019 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of Templates: time 0.04492/1.458, allocations: 22.66 MB / 1.041 GB, free: 0.8047 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)