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.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001374/0.001374, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.449/1.449, allocations: 205.1 MB / 222 MB, free: 4.98 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.797/1.797, allocations: 292.2 MB / 0.5484 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.001388/0.001388, allocations: 62.52 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7739/1.069, allocations: 187.7 MB / 0.966 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01449/1.084, allocations: 7.884 MB / 0.9737 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/1.086, allocations: 32.59 kB / 0.9737 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/1.088, allocations: 461.8 kB / 0.9742 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00548/1.094, allocations: 1.452 MB / 0.9756 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00908/1.103, allocations: 2.284 MB / 0.9778 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004831/1.108, allocations: 2.809 MB / 0.9805 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/1.11, allocations: 0.9249 MB / 0.9814 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/1.112, allocations: 0.845 MB / 0.9823 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/1.114, allocations: 0.8371 MB / 0.9831 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/1.114, allocations: 66 kB / 0.9832 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/1.118, allocations: 1.497 MB / 0.9846 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/1.119, allocations: 355 kB / 0.985 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009899/1.12, allocations: 0.5769 MB / 0.9855 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/1.124, allocations: 2.118 MB / 0.9876 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.124, allocations: 3.938 kB / 0.9876 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/1.124, allocations: 0 / 0.9876 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.124, allocations: 0 / 0.9876 GB, free: 4.109 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.005095/1.129, allocations: 1.759 MB / 0.9893 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.129, allocations: 14.72 kB / 0.9893 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.13, allocations: 192.6 kB / 0.9895 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.132, allocations: 1.051 MB / 0.9905 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.132, allocations: 55.5 kB / 0.9906 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.132, allocations: 61.34 kB / 0.9906 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.134, allocations: 0.6912 MB / 0.9913 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.134, allocations: 0 / 0.9913 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/1.134, allocations: 20.31 kB / 0.9913 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.134, allocations: 11.34 kB / 0.9913 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/1.135, allocations: 0.6206 MB / 0.992 GB, free: 17.85 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.004297/1.139, allocations: 2.672 MB / 0.9946 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.14, allocations: 0.5529 MB / 0.9951 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/1.141, allocations: 348.5 kB / 0.9954 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/1.141, allocations: 292.8 kB / 0.9957 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.141, allocations: 41.2 kB / 0.9958 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009524/1.142, allocations: 167.1 kB / 0.9959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/1.142, allocations: 2.625 kB / 0.9959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43): time 0.002367/1.145, allocations: 1.025 MB / 0.9969 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/1.145, allocations: 139.1 kB / 0.9971 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.147, allocations: 1.281 MB / 0.9983 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.147, allocations: 42.05 kB / 0.9983 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/1.148, allocations: 456.5 kB / 0.9988 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.148, allocations: 147.7 kB / 0.9989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.148, allocations: 123.5 kB / 0.999 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.148, allocations: 323.1 kB / 0.9993 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/1.149, allocations: 291.8 kB / 0.9996 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/1.15, allocations: 0.5123 MB / 1 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.151, allocations: 0.6124 MB / 1.001 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.151, allocations: 112 / 1.001 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001921/1.153, allocations: 0.791 MB / 1.001 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.153, allocations: 4.906 kB / 1.001 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.153, allocations: 1.938 kB / 1.001 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.153, allocations: 3.594 kB / 1.002 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/1.153, allocations: 118.5 kB / 1.002 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.153, allocations: 2.094 kB / 1.002 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.155, allocations: 107.9 kB / 1.002 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/1.155, allocations: 21.58 kB / 1.002 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001051/1.156, allocations: 489.5 kB / 1.002 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008044/1.157, allocations: 0.5068 MB / 1.003 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/1.158, allocations: 0.6156 MB / 1.003 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/1.158, allocations: 6.438 kB / 1.003 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00187/1.16, allocations: 0.7667 MB / 1.004 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.16, allocations: 10.41 kB / 1.004 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.16, allocations: 6.109 kB / 1.004 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/1.16, allocations: 2.938 kB / 1.004 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/1.161, allocations: 114.4 kB / 1.004 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.161, allocations: 2.469 kB / 1.004 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.163, allocations: 146.8 kB / 1.004 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/1.163, allocations: 25.08 kB / 1.004 GB, free: 11.14 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.0002992/1.163, allocations: 216.9 kB / 1.005 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/1.163, allocations: 103.3 kB / 1.005 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/1.165, allocations: 0.8127 MB / 1.005 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.165, allocations: 5.094 kB / 1.005 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.165, allocations: 0 / 1.005 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.165, allocations: 3.188 kB / 1.005 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/1.169, allocations: 1.954 MB / 1.007 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.169, allocations: 2.781 kB / 1.007 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/1.169, allocations: 112.2 kB / 1.007 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.169, allocations: 13.62 kB / 1.007 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/1.169, allocations: 16.41 kB / 1.008 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/1.169, allocations: 5.031 kB / 1.008 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.169, allocations: 3.062 kB / 1.008 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.172, allocations: 1.244 MB / 1.009 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/1.173, allocations: 283.5 kB / 1.009 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.173, allocations: 14.56 kB / 1.009 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.175, allocations: 81.16 kB / 1.009 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.175, allocations: 40.08 kB / 1.009 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/1.175, allocations: 24.27 kB / 1.009 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001854/1.177, allocations: 0.9254 MB / 1.01 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0 / 1.01 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002055/1.179, allocations: 446 kB / 1.01 GB, free: 7.363 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.0009264/1.18, allocations: 260.5 kB / 1.011 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002365/1.182, allocations: 1.038 MB / 1.012 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.182, allocations: 5.812 kB / 1.012 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/1.183, allocations: 337.3 kB / 1.012 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.186, allocations: 472.7 kB / 1.013 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.189, allocations: 2.029 MB / 1.015 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/1.189, allocations: 1.053 MB / 1.016 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00146/1.191, allocations: 297.8 kB / 1.016 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/1.191, allocations: 102.5 kB / 1.016 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/1.191, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of Templates: time 0.03858/1.23, allocations: 21.99 MB / 1.037 GB, free: 3.863 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)