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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.762/0.762, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 180.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 99.02 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 290.7 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 87.86 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5287/0.8618, allocations: 187.4 MB / 0.951 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.8683, allocations: 4.313 MB / 0.9552 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.8695, allocations: 23.03 kB / 0.9552 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.8707, allocations: 431.7 kB / 0.9556 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.8738, allocations: 1.464 MB / 0.9571 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.8768, allocations: 1.222 MB / 0.9582 GB, free: 15.63 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.8794, allocations: 2.788 MB / 0.961 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.8805, allocations: 0.9285 MB / 0.9619 GB, free: 15.51 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.8816, allocations: 0.852 MB / 0.9627 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.8825, allocations: 0.8391 MB / 0.9635 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.8827, allocations: 67.28 kB / 0.9636 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.8849, allocations: 1.372 MB / 0.9649 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.8852, allocations: 340.4 kB / 0.9653 GB, free: 15.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.8858, allocations: 0.5783 MB / 0.9658 GB, free: 15.15 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.888, allocations: 1.989 MB / 0.9678 GB, free: 14.88 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.888, allocations: 6.094 kB / 0.9678 GB, free: 14.88 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.888, allocations: 0 / 0.9678 GB, free: 14.88 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.888, allocations: 0 / 0.9678 GB, free: 14.88 MB / 0.573 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.004037/0.8921, allocations: 1.727 MB / 0.9695 GB, free: 13.81 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8921, allocations: 7.656 kB / 0.9695 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/0.8929, allocations: 187.2 kB / 0.9696 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.8946, allocations: 1.035 MB / 0.9707 GB, free: 12.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.8947, allocations: 45.81 kB / 0.9707 GB, free: 12.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.8949, allocations: 70.25 kB / 0.9708 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.896, allocations: 0.6143 MB / 0.9714 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.8961, allocations: 0 / 0.9714 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.8961, allocations: 17.34 kB / 0.9714 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.8962, allocations: 21.06 kB / 0.9714 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.8975, allocations: 0.626 MB / 0.972 GB, free: 12.25 MB / 0.573 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.004016/0.9015, allocations: 2.66 MB / 0.9746 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.9027, allocations: 0.5401 MB / 0.9751 GB, free: 9.926 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.9033, allocations: 348.4 kB / 0.9755 GB, free: 9.754 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.9037, allocations: 293.8 kB / 0.9757 GB, free: 9.449 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.9038, allocations: 41.03 kB / 0.9758 GB, free: 9.402 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007696/0.9046, allocations: 166.1 kB / 0.9759 GB, free: 9.328 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 2.726e-06/0.9046, allocations: 0 / 0.9759 GB, free: 9.328 MB / 0.573 GB Notification: Performance of matching and sorting (n=43): time 0.002327/0.9069, allocations: 1.014 MB / 0.9769 GB, free: 8.824 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.907, allocations: 58.48 kB / 0.977 GB, free: 8.758 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.909, allocations: 1.277 MB / 0.9782 GB, free: 8.062 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.9091, allocations: 38.36 kB / 0.9783 GB, free: 8.023 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.9094, allocations: 437.3 kB / 0.9787 GB, free: 7.648 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.9096, allocations: 146.7 kB / 0.9788 GB, free: 7.523 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.9098, allocations: 121.1 kB / 0.9789 GB, free: 7.453 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.9099, allocations: 322.8 kB / 0.9793 GB, free: 7.137 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.9105, allocations: 273.2 kB / 0.9795 GB, free: 6.996 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.9113, allocations: 488.5 kB / 0.98 GB, free: 6.625 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.9124, allocations: 0.59 MB / 0.9806 GB, free: 6.324 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9124, allocations: 3.938 kB / 0.9806 GB, free: 6.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001513/0.9139, allocations: 0.7391 MB / 0.9813 GB, free: 5.938 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.914, allocations: 5.344 kB / 0.9813 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.914, allocations: 0 / 0.9813 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.914, allocations: 2.531 kB / 0.9813 GB, free: 5.938 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.9146, allocations: 125 kB / 0.9814 GB, free: 5.902 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9146, allocations: 0 / 0.9814 GB, free: 5.902 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.9158, allocations: 104 kB / 0.9815 GB, free: 5.855 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.9159, allocations: 24.44 kB / 0.9815 GB, free: 5.844 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008726/0.9168, allocations: 471.2 kB / 0.982 GB, free: 5.562 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000707/0.9175, allocations: 481.8 kB / 0.9824 GB, free: 5.188 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.9186, allocations: 0.5794 MB / 0.983 GB, free: 4.887 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.9186, allocations: 0 / 0.983 GB, free: 4.887 MB / 0.573 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001429/0.92, allocations: 0.7404 MB / 0.9837 GB, free: 4.508 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.92, allocations: 10.66 kB / 0.9837 GB, free: 4.504 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.9201, allocations: 0 / 0.9837 GB, free: 4.504 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.9201, allocations: 6.516 kB / 0.9837 GB, free: 4.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.9207, allocations: 124.5 kB / 0.9839 GB, free: 4.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.9207, allocations: 3.281 kB / 0.9839 GB, free: 4.465 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.922, allocations: 141.2 kB / 0.984 GB, free: 4.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.9221, allocations: 16.55 kB / 0.984 GB, free: 4.395 MB / 0.573 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.0001889/0.9223, allocations: 214 kB / 0.9842 GB, free: 4.191 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.9224, allocations: 100.8 kB / 0.9843 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.9242, allocations: 0.8093 MB / 0.9851 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.9242, allocations: 4.844 kB / 0.9851 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9242, allocations: 0 / 0.9851 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.9242, allocations: 3.984 kB / 0.9851 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.9273, allocations: 1.959 MB / 0.987 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9273, allocations: 2.469 kB / 0.987 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.9279, allocations: 103.2 kB / 0.9871 GB, free: 2.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.9279, allocations: 4.625 kB / 0.9871 GB, free: 2.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.928, allocations: 19 kB / 0.9872 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.928, allocations: 10.98 kB / 0.9872 GB, free: 2.281 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.928, allocations: 2.719 kB / 0.9872 GB, free: 2.281 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.9334, allocations: 3.635 MB / 0.9907 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.9339, allocations: 295.8 kB / 0.991 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.934, allocations: 19.94 kB / 0.991 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.935, allocations: 75.81 kB / 0.9911 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.9351, allocations: 35.94 kB / 0.9911 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.9352, allocations: 23.94 kB / 0.9911 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001388/0.9365, allocations: 0.9273 MB / 0.9921 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9366, allocations: 0 / 0.9921 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001532/0.9381, allocations: 0.5502 MB / 0.9926 GB, free: 13.42 MB / 0.5886 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.0004824/0.9386, allocations: 220.9 kB / 0.9928 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.9405, allocations: 0.9328 MB / 0.9937 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9405, allocations: 0 / 0.9937 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.9411, allocations: 335.4 kB / 0.994 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.9435, allocations: 466.1 kB / 0.9945 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.9464, allocations: 2.316 MB / 0.9967 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.9469, allocations: 1.065 MB / 0.9978 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001209/0.9481, allocations: 295 kB / 0.9981 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.9485, allocations: 91.39 kB / 0.9981 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.9485, allocations: 0 / 0.9981 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of Templates: time 0.03323/0.9818, allocations: 21.31 MB / 1.019 GB, free: 2.676 MB / 0.6042 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)