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.001556/0.001556, allocations: 113.3 kB / 16.41 MB, free: 6.5 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.001655/0.001655, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 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.002479/0.002479, allocations: 290.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4762, allocations: 86.97 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2105/0.6868, allocations: 190.2 MB / 0.9527 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007538/0.6943, allocations: 4.298 MB / 0.9569 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.6952, allocations: 31.81 kB / 0.957 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6965, allocations: 0.5123 MB / 0.9575 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4555/1.152, allocations: 1.617 MB / 0.9591 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/1.156, allocations: 1.356 MB / 0.9604 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004465/1.161, allocations: 2.268 MB / 0.9626 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/1.162, allocations: 0.9492 MB / 0.9635 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/1.164, allocations: 0.9689 MB / 0.9645 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/1.166, allocations: 0.8691 MB / 0.9653 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/1.166, allocations: 142.7 kB / 0.9655 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/1.168, allocations: 1.249 MB / 0.9667 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004478/1.169, allocations: 431.3 kB / 0.9671 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008795/1.17, allocations: 0.6465 MB / 0.9677 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/1.173, allocations: 1.995 MB / 0.9697 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.173, allocations: 1.375 kB / 0.9697 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/1.173, allocations: 0.875 kB / 0.9697 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.809e-05/1.173, allocations: 0 / 0.9697 GB, free: 2.117 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.004429/1.177, allocations: 1.763 MB / 0.9714 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.177, allocations: 12.89 kB / 0.9714 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/1.178, allocations: 188.2 kB / 0.9716 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/1.18, allocations: 1.078 MB / 0.9726 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/1.18, allocations: 46.03 kB / 0.9727 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.18, allocations: 60.66 kB / 0.9727 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.181, allocations: 0.6128 MB / 0.9733 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/1.181, allocations: 2.5 kB / 0.9733 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/1.181, allocations: 18.03 kB / 0.9734 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/1.182, allocations: 16.53 kB / 0.9734 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/1.183, allocations: 0.6328 MB / 0.974 GB, free: 16.79 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.004057/1.187, allocations: 2.665 MB / 0.9766 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/1.188, allocations: 0.5138 MB / 0.9771 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/1.188, allocations: 324.9 kB / 0.9774 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/1.189, allocations: 286.7 kB / 0.9777 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.189, allocations: 47.86 kB / 0.9777 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000697/1.19, allocations: 139.4 kB / 0.9779 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/1.19, allocations: 1.031 kB / 0.9779 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002235/1.192, allocations: 1.018 MB / 0.9788 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.192, allocations: 57.62 kB / 0.9789 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.194, allocations: 1.272 MB / 0.9801 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/1.194, allocations: 38.92 kB / 0.9802 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/1.194, allocations: 443.4 kB / 0.9806 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.194, allocations: 162 kB / 0.9808 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/1.194, allocations: 114 kB / 0.9809 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.195, allocations: 320.8 kB / 0.9812 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/1.195, allocations: 277.3 kB / 0.9814 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/1.196, allocations: 489 kB / 0.9819 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.197, allocations: 0.5869 MB / 0.9825 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.197, allocations: 0 / 0.9825 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001476/1.198, allocations: 0.7501 MB / 0.9832 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.198, allocations: 4.875 kB / 0.9832 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.198, allocations: 0 / 0.9832 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.198, allocations: 3.281 kB / 0.9832 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/1.199, allocations: 126 kB / 0.9833 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.199, allocations: 3.094 kB / 0.9833 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.2, allocations: 99.44 kB / 0.9834 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/1.2, allocations: 26.66 kB / 0.9835 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000783/1.201, allocations: 466.4 kB / 0.9839 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006799/1.202, allocations: 485.8 kB / 0.9844 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001039/1.203, allocations: 0.5771 MB / 0.9849 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/1.203, allocations: 0.7188 kB / 0.9849 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001415/1.204, allocations: 0.7357 MB / 0.9857 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.204, allocations: 9.125 kB / 0.9857 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.204, allocations: 4.312 kB / 0.9857 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/1.204, allocations: 0.9688 kB / 0.9857 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/1.205, allocations: 124.8 kB / 0.9858 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.205, allocations: 3.406 kB / 0.9858 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.206, allocations: 122 kB / 0.9859 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/1.206, allocations: 23.56 kB / 0.9859 GB, free: 13.97 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.0002421/1.207, allocations: 207.5 kB / 0.9861 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.207, allocations: 111.7 kB / 0.9862 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.209, allocations: 0.8036 MB / 0.987 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.209, allocations: 6.375 kB / 0.987 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.209, allocations: 2.031 kB / 0.987 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.209, allocations: 2.719 kB / 0.987 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.212, allocations: 1.96 MB / 0.9889 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.212, allocations: 5.125 kB / 0.9889 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/1.212, allocations: 108.2 kB / 0.989 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.212, allocations: 4.5 kB / 0.9891 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/1.212, allocations: 14 kB / 0.9891 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.212, allocations: 14.73 kB / 0.9891 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.212, allocations: 4.078 kB / 0.9891 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.214, allocations: 1.236 MB / 0.9903 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/1.215, allocations: 295.9 kB / 0.9906 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.215, allocations: 15.06 kB / 0.9906 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.216, allocations: 65.8 kB / 0.9907 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.216, allocations: 48.23 kB / 0.9907 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/1.216, allocations: 19.36 kB / 0.9907 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001575/1.218, allocations: 0.9202 MB / 0.9916 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.218, allocations: 0.875 kB / 0.9916 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001369/1.219, allocations: 407.3 kB / 0.992 GB, free: 12.69 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.0006275/1.22, allocations: 230.3 kB / 0.9922 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002163/1.222, allocations: 0.8952 MB / 0.9931 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/1.222, allocations: 0.7812 kB / 0.9931 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/1.223, allocations: 325.4 kB / 0.9934 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.225, allocations: 435.8 kB / 0.9938 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/1.228, allocations: 1.715 MB / 0.9955 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/1.229, allocations: 1.042 MB / 0.9965 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001114/1.23, allocations: 285.6 kB / 0.9968 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.23, allocations: 97.77 kB / 0.9969 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.23, allocations: 0.75 kB / 0.9969 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.04/1.27, allocations: 21.52 MB / 1.018 GB, free: 5.562 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)