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.006269/0.006269, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001528/0.001528, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.274/1.274, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 303.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 96.22 kB / 0.6814 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4529, allocations: 86.97 MB / 0.7664 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1945/0.6475, allocations: 189.7 MB / 0.9516 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007527/0.655, allocations: 4.287 MB / 0.9558 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.6559, allocations: 27.81 kB / 0.9558 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.6572, allocations: 0.4928 MB / 0.9563 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4245/1.082, allocations: 1.558 MB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/1.085, allocations: 1.347 MB / 0.9591 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003731/1.089, allocations: 2.267 MB / 0.9613 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/1.091, allocations: 1.081 MB / 0.9624 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/1.093, allocations: 0.9576 MB / 0.9633 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/1.094, allocations: 0.874 MB / 0.9642 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/1.095, allocations: 139.2 kB / 0.9643 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/1.097, allocations: 1.242 MB / 0.9655 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003832/1.097, allocations: 422.9 kB / 0.9659 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/1.098, allocations: 0.649 MB / 0.9666 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/1.101, allocations: 1.981 MB / 0.9685 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.101, allocations: 1 kB / 0.9685 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/1.101, allocations: 0 / 0.9685 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.101, allocations: 2.281 kB / 0.9685 GB, free: 2.359 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.004266/1.105, allocations: 1.728 MB / 0.9702 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.105, allocations: 10.44 kB / 0.9702 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008355/1.106, allocations: 187 kB / 0.9704 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/1.108, allocations: 1.069 MB / 0.9714 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/1.108, allocations: 43.31 kB / 0.9715 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.108, allocations: 65.09 kB / 0.9715 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.109, allocations: 0.613 MB / 0.9721 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.109, allocations: 0.7188 kB / 0.9721 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/1.109, allocations: 16.75 kB / 0.9721 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.109, allocations: 23.75 kB / 0.9722 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/1.11, allocations: 0.6239 MB / 0.9728 GB, free: 17.08 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.003623/1.114, allocations: 2.659 MB / 0.9754 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/1.115, allocations: 0.5434 MB / 0.9759 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/1.115, allocations: 349.4 kB / 0.9762 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/1.116, allocations: 292.7 kB / 0.9765 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.116, allocations: 45.53 kB / 0.9766 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006066/1.116, allocations: 140.7 kB / 0.9767 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/1.116, allocations: 0 / 0.9767 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002004/1.118, allocations: 1.02 MB / 0.9777 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/1.118, allocations: 59.41 kB / 0.9777 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.12, allocations: 1.277 MB / 0.979 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/1.12, allocations: 37.36 kB / 0.979 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.12, allocations: 433.4 kB / 0.9794 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/1.12, allocations: 147.8 kB / 0.9796 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.121, allocations: 117.4 kB / 0.9797 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.121, allocations: 319.7 kB / 0.98 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/1.121, allocations: 273.3 kB / 0.9803 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/1.122, allocations: 490.6 kB / 0.9807 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/1.123, allocations: 0.5811 MB / 0.9813 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.123, allocations: 0 / 0.9813 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001246/1.124, allocations: 0.7498 MB / 0.982 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.124, allocations: 10.47 kB / 0.982 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.124, allocations: 0 / 0.982 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.124, allocations: 2.938 kB / 0.982 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/1.125, allocations: 118.9 kB / 0.9822 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.125, allocations: 1.203 kB / 0.9822 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.126, allocations: 92.88 kB / 0.9822 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/1.126, allocations: 28.97 kB / 0.9823 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007005/1.127, allocations: 465.9 kB / 0.9827 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00064/1.127, allocations: 482.4 kB / 0.9832 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009933/1.128, allocations: 0.5836 MB / 0.9837 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/1.128, allocations: 1 kB / 0.9838 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001326/1.13, allocations: 0.731 MB / 0.9845 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.13, allocations: 11.5 kB / 0.9845 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.13, allocations: 0.9062 kB / 0.9845 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/1.13, allocations: 3.594 kB / 0.9845 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/1.13, allocations: 119.9 kB / 0.9846 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.13, allocations: 4.25 kB / 0.9846 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.132, allocations: 127.1 kB / 0.9847 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/1.132, allocations: 29.42 kB / 0.9847 GB, free: 14.29 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.0002025/1.132, allocations: 205.4 kB / 0.9849 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/1.132, allocations: 105.6 kB / 0.985 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/1.133, allocations: 0.802 MB / 0.9858 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.133, allocations: 9.5 kB / 0.9858 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.133, allocations: 3.938 kB / 0.9858 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.133, allocations: 1.062 kB / 0.9858 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/1.136, allocations: 1.951 MB / 0.9877 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.136, allocations: 3.906 kB / 0.9878 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/1.137, allocations: 111.1 kB / 0.9879 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.137, allocations: 5.156 kB / 0.9879 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.137, allocations: 15.5 kB / 0.9879 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.137, allocations: 12.92 kB / 0.9879 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.137, allocations: 4.688 kB / 0.9879 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.138, allocations: 1.233 MB / 0.9891 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/1.139, allocations: 292 kB / 0.9894 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.139, allocations: 9.812 kB / 0.9894 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/1.14, allocations: 67.17 kB / 0.9894 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.14, allocations: 46.66 kB / 0.9895 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/1.14, allocations: 20.06 kB / 0.9895 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001158/1.141, allocations: 0.9204 MB / 0.9904 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.141, allocations: 0 / 0.9904 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001025/1.142, allocations: 407.9 kB / 0.9908 GB, free: 13.02 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.0004448/1.143, allocations: 228.5 kB / 0.991 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.144, allocations: 0.9363 MB / 0.9919 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.144, allocations: 0.875 kB / 0.9919 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/1.145, allocations: 337.9 kB / 0.9923 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.147, allocations: 434.9 kB / 0.9927 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/1.149, allocations: 1.675 MB / 0.9943 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/1.149, allocations: 1.043 MB / 0.9953 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008648/1.15, allocations: 296.1 kB / 0.9956 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/1.151, allocations: 97.98 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/1.151, allocations: 1 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.03192/1.183, allocations: 21.89 MB / 1.017 GB, free: 5.781 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)