Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005562/0.005562, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001029/0.001029, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 290.9 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.3 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 99.83 kB / 0.6814 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4488, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2007/0.6495, allocations: 189.7 MB / 0.9516 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007505/0.6571, allocations: 4.287 MB / 0.9558 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6582, allocations: 27.81 kB / 0.9558 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.6595, allocations: 0.5006 MB / 0.9563 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4476/1.107, allocations: 1.555 MB / 0.9578 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003639/1.111, allocations: 1.342 MB / 0.9591 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003755/1.115, allocations: 2.27 MB / 0.9613 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/1.116, allocations: 1.081 MB / 0.9624 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/1.118, allocations: 0.9573 MB / 0.9633 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/1.119, allocations: 0.8745 MB / 0.9642 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.12, allocations: 140 kB / 0.9643 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/1.122, allocations: 1.243 MB / 0.9655 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004699/1.123, allocations: 426.8 kB / 0.9659 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009052/1.124, allocations: 0.6454 MB / 0.9666 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002939/1.126, allocations: 1.989 MB / 0.9685 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.127, allocations: 2.312 kB / 0.9685 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/1.127, allocations: 0 / 0.9685 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.127, allocations: 0 / 0.9685 GB, free: 2.293 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004466/1.131, allocations: 1.722 MB / 0.9702 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.131, allocations: 14.52 kB / 0.9702 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.132, allocations: 183 kB / 0.9704 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/1.135, allocations: 1.062 MB / 0.9714 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/1.135, allocations: 48.16 kB / 0.9715 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.135, allocations: 65 kB / 0.9715 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/1.137, allocations: 0.6137 MB / 0.9721 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.137, allocations: 0 / 0.9721 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/1.137, allocations: 19.88 kB / 0.9722 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/1.137, allocations: 19.8 kB / 0.9722 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/1.139, allocations: 0.6239 MB / 0.9728 GB, free: 17.02 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.006107/1.145, allocations: 2.659 MB / 0.9754 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/1.146, allocations: 0.549 MB / 0.9759 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008072/1.147, allocations: 343.8 kB / 0.9762 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/1.148, allocations: 289.9 kB / 0.9765 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.148, allocations: 43.42 kB / 0.9766 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/1.149, allocations: 147.5 kB / 0.9767 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 8.716e-06/1.149, allocations: 3.156 kB / 0.9767 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.003281/1.152, allocations: 1.017 MB / 0.9777 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/1.152, allocations: 57.19 kB / 0.9778 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/1.155, allocations: 1.275 MB / 0.979 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.155, allocations: 40.52 kB / 0.979 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/1.155, allocations: 436.5 kB / 0.9795 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.156, allocations: 147.7 kB / 0.9796 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.156, allocations: 116 kB / 0.9797 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.156, allocations: 323.6 kB / 0.98 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/1.157, allocations: 272.1 kB / 0.9803 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009735/1.158, allocations: 493 kB / 0.9807 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.159, allocations: 0.5829 MB / 0.9813 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.159, allocations: 0.8438 kB / 0.9813 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002117/1.162, allocations: 0.7494 MB / 0.982 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.162, allocations: 6 kB / 0.982 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.162, allocations: 0 / 0.982 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.162, allocations: 3.984 kB / 0.9821 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/1.162, allocations: 122.9 kB / 0.9822 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.163, allocations: 3.312 kB / 0.9822 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.164, allocations: 90.81 kB / 0.9823 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/1.164, allocations: 24.97 kB / 0.9823 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/1.165, allocations: 474.8 kB / 0.9827 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009457/1.166, allocations: 477.8 kB / 0.9832 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001496/1.168, allocations: 0.5852 MB / 0.9838 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/1.168, allocations: 2.312 kB / 0.9838 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002236/1.17, allocations: 0.7307 MB / 0.9845 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.17, allocations: 12.45 kB / 0.9845 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.17, allocations: 0 / 0.9845 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/1.17, allocations: 0.9062 kB / 0.9845 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/1.171, allocations: 122.9 kB / 0.9846 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.171, allocations: 3.594 kB / 0.9846 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.173, allocations: 122.2 kB / 0.9847 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/1.173, allocations: 25.11 kB / 0.9848 GB, free: 14.23 MB / 0.7325 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.000266/1.174, allocations: 202.9 kB / 0.9849 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/1.174, allocations: 108.7 kB / 0.9851 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/1.176, allocations: 0.8054 MB / 0.9858 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.176, allocations: 7.062 kB / 0.9858 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.176, allocations: 1.094 kB / 0.9858 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.176, allocations: 2.578 kB / 0.9858 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/1.181, allocations: 1.948 MB / 0.9877 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.181, allocations: 2.719 kB / 0.9878 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/1.182, allocations: 110.2 kB / 0.9879 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/1.182, allocations: 9.75 kB / 0.9879 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/1.182, allocations: 17.19 kB / 0.9879 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/1.182, allocations: 11.61 kB / 0.9879 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.182, allocations: 3.188 kB / 0.9879 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.185, allocations: 1.241 MB / 0.9891 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008852/1.185, allocations: 289.2 kB / 0.9894 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/1.186, allocations: 15.66 kB / 0.9894 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.187, allocations: 66.02 kB / 0.9895 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.187, allocations: 41.94 kB / 0.9895 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/1.187, allocations: 22.7 kB / 0.9895 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002038/1.189, allocations: 0.917 MB / 0.9904 GB, free: 13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.7e-07/1.19, allocations: 0 / 0.9904 GB, free: 13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001898/1.191, allocations: 409 kB / 0.9908 GB, free: 12.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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.0006196/1.192, allocations: 216.5 kB / 0.991 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002533/1.195, allocations: 0.9424 MB / 0.9919 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.195, allocations: 0 / 0.9919 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008076/1.195, allocations: 333.9 kB / 0.9923 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.199, allocations: 441.2 kB / 0.9927 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/1.203, allocations: 1.687 MB / 0.9943 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/1.204, allocations: 1.041 MB / 0.9953 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002018/1.206, allocations: 293.2 kB / 0.9956 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/1.206, allocations: 95.12 kB / 0.9957 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.206, allocations: 4.031 kB / 0.9957 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.039/1.245, allocations: 21.89 MB / 1.017 GB, free: 5.68 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)