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.001162/0.001162, allocations: 112.3 kB / 16.38 MB, free: 6.02 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.001305/0.001305, allocations: 195.9 kB / 17.31 MB, free: 5.617 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.658/1.658, allocations: 205.1 MB / 223.2 MB, free: 12.25 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 1.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.0014/0.0014, allocations: 71.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2552, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7271/0.9823, allocations: 190 MB / 0.9703 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.9961, allocations: 7.459 MB / 0.9776 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.9987, allocations: 39.69 kB / 0.9776 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/1.001, allocations: 0.5356 MB / 0.9782 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/1.007, allocations: 1.563 MB / 0.9797 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009705/1.017, allocations: 2.746 MB / 0.9824 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004293/1.021, allocations: 2.293 MB / 0.9846 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.023, allocations: 1.078 MB / 0.9857 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/1.026, allocations: 0.9654 MB / 0.9866 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/1.028, allocations: 0.8677 MB / 0.9875 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006924/1.029, allocations: 140 kB / 0.9876 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/1.032, allocations: 1.364 MB / 0.9889 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009944/1.033, allocations: 426.7 kB / 0.9893 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/1.035, allocations: 0.6608 MB / 0.99 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/1.04, allocations: 2.111 MB / 0.992 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.04, allocations: 0 / 0.992 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/1.04, allocations: 0 / 0.992 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.981e-05/1.04, allocations: 0 / 0.992 GB, free: 5.734 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.005838/1.046, allocations: 1.763 MB / 0.9938 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/1.046, allocations: 8.031 kB / 0.9938 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.047, allocations: 186.5 kB / 0.9939 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/1.05, allocations: 1.084 MB / 0.995 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/1.05, allocations: 49.5 kB / 0.995 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/1.05, allocations: 60 kB / 0.9951 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/1.051, allocations: 0.6948 MB / 0.9958 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.052, allocations: 0 / 0.9958 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/1.052, allocations: 20 kB / 0.9958 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.052, allocations: 12 kB / 0.9958 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.053, allocations: 0.6153 MB / 0.9964 GB, free: 1.121 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.005026/1.058, allocations: 2.674 MB / 0.999 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.059, allocations: 0.5569 MB / 0.9996 GB, free: 13.74 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/1.06, allocations: 349.4 kB / 0.9999 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/1.06, allocations: 288.2 kB / 1 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.06, allocations: 42.55 kB / 1 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008394/1.061, allocations: 139.5 kB / 1 GB, free: 12.88 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 1.131e-05/1.061, allocations: 112 / 1 GB, free: 12.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002618/1.064, allocations: 1.035 MB / 1.001 GB, free: 11.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/1.064, allocations: 136.5 kB / 1.001 GB, free: 11.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/1.066, allocations: 1.288 MB / 1.003 GB, free: 10.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/1.066, allocations: 41.7 kB / 1.003 GB, free: 10.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/1.067, allocations: 450.2 kB / 1.003 GB, free: 9.871 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.067, allocations: 145.8 kB / 1.003 GB, free: 9.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/1.067, allocations: 126.1 kB / 1.003 GB, free: 9.598 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.067, allocations: 326 kB / 1.004 GB, free: 9.273 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/1.068, allocations: 298.3 kB / 1.004 GB, free: 8.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/1.069, allocations: 0.5084 MB / 1.005 GB, free: 8.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.07, allocations: 0.6096 MB / 1.005 GB, free: 7.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.07, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001863/1.072, allocations: 0.7914 MB / 1.006 GB, free: 6.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.072, allocations: 4.781 kB / 1.006 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.072, allocations: 4 kB / 1.006 GB, free: 6.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.072, allocations: 3.984 kB / 1.006 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.073, allocations: 120.6 kB / 1.006 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/1.073, allocations: 0 / 1.006 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.074, allocations: 92.52 kB / 1.006 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/1.074, allocations: 33.94 kB / 1.006 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000972/1.075, allocations: 484.8 kB / 1.007 GB, free: 6.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009125/1.076, allocations: 0.5105 MB / 1.007 GB, free: 5.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001336/1.078, allocations: 0.6136 MB / 1.008 GB, free: 5.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/1.078, allocations: 1.094 kB / 1.008 GB, free: 5.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00187/1.079, allocations: 0.7749 MB / 1.009 GB, free: 4.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.079, allocations: 8 kB / 1.009 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.079, allocations: 0 / 1.009 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/1.079, allocations: 4 kB / 1.009 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/1.08, allocations: 115.8 kB / 1.009 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.08, allocations: 4 kB / 1.009 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.082, allocations: 133.8 kB / 1.009 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/1.082, allocations: 27.97 kB / 1.009 GB, free: 3.977 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.0003023/1.082, allocations: 204.1 kB / 1.009 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/1.082, allocations: 106.7 kB / 1.009 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.084, allocations: 0.8111 MB / 1.01 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.084, allocations: 9.047 kB / 1.01 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.084, allocations: 0 / 1.01 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/1.085, allocations: 283.7 kB / 1.01 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.085, allocations: 12 kB / 1.01 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.086, allocations: 59.91 kB / 1.01 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.086, allocations: 40.33 kB / 1.01 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001779/1.088, allocations: 0.7649 MB / 1.011 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002303/1.091, allocations: 1.267 MB / 1.012 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007951/1.091, allocations: 315.3 kB / 1.013 GB, free: 64 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002325/1.094, allocations: 0.9213 MB / 1.013 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Backend: time 6.92e-07/1.094, allocations: 0 / 1.013 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003607/1.097, allocations: 1.159 MB / 1.015 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of SimCode: time 0.004316/1.102, allocations: 2.236 MB / 1.017 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.05101/1.153, allocations: 26.26 MB / 1.042 GB, free: 1.824 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)