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.001461/0.001461, allocations: 112.8 kB / 16.37 MB, free: 6.344 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.001691/0.001691, allocations: 189.5 kB / 17.3 MB, free: 5.898 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 298.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 87.86 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5236, allocations: 86.99 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.199/0.7226, allocations: 189.7 MB / 0.9522 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00836/0.7311, allocations: 4.29 MB / 0.9564 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.7329, allocations: 31.81 kB / 0.9564 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.7347, allocations: 0.4966 MB / 0.9569 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.53/1.265, allocations: 1.559 MB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/1.268, allocations: 1.343 MB / 0.9597 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003941/1.272, allocations: 2.267 MB / 0.962 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/1.275, allocations: 1.08 MB / 0.963 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/1.277, allocations: 0.9489 MB / 0.9639 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/1.279, allocations: 0.8744 MB / 0.9648 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/1.279, allocations: 140 kB / 0.9649 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/1.282, allocations: 1.245 MB / 0.9661 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/1.282, allocations: 423.6 kB / 0.9665 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008417/1.283, allocations: 0.6427 MB / 0.9672 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/1.286, allocations: 1.992 MB / 0.9691 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.286, allocations: 0 / 0.9691 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/1.286, allocations: 0.875 kB / 0.9691 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.547e-05/1.286, allocations: 1.438 kB / 0.9691 GB, free: 2.332 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.004301/1.29, allocations: 1.716 MB / 0.9708 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.29, allocations: 12.22 kB / 0.9708 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/1.291, allocations: 188.6 kB / 0.971 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.293, allocations: 1.06 MB / 0.972 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/1.293, allocations: 46.47 kB / 0.9721 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.293, allocations: 63.28 kB / 0.9721 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/1.294, allocations: 0.6163 MB / 0.9727 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.294, allocations: 0 / 0.9727 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/1.294, allocations: 20.16 kB / 0.9727 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.294, allocations: 16.88 kB / 0.9728 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/1.295, allocations: 0.628 MB / 0.9734 GB, free: 17.06 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.003999/1.299, allocations: 2.654 MB / 0.976 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.3, allocations: 0.5491 MB / 0.9765 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/1.301, allocations: 351.2 kB / 0.9768 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.301, allocations: 290.5 kB / 0.9771 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.301, allocations: 42.84 kB / 0.9772 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006977/1.302, allocations: 141 kB / 0.9773 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/1.302, allocations: 0 / 0.9773 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002274/1.304, allocations: 1.021 MB / 0.9783 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.305, allocations: 57.95 kB / 0.9783 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.306, allocations: 1.278 MB / 0.9796 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/1.307, allocations: 36.8 kB / 0.9796 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/1.307, allocations: 434.5 kB / 0.98 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.307, allocations: 150.7 kB / 0.9802 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.307, allocations: 118.8 kB / 0.9803 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.307, allocations: 316.8 kB / 0.9806 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/1.308, allocations: 273.5 kB / 0.9809 GB, free: 15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/1.309, allocations: 486.9 kB / 0.9813 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.31, allocations: 0.585 MB / 0.9819 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.31, allocations: 3.094 kB / 0.9819 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001572/1.311, allocations: 0.7441 MB / 0.9826 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.311, allocations: 7.859 kB / 0.9826 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.311, allocations: 0.6562 kB / 0.9826 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.311, allocations: 2.438 kB / 0.9826 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/1.312, allocations: 119.4 kB / 0.9827 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.312, allocations: 7.109 kB / 0.9828 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.313, allocations: 96.09 kB / 0.9828 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/1.314, allocations: 23.88 kB / 0.9829 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008079/1.314, allocations: 469 kB / 0.9833 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006698/1.315, allocations: 482.9 kB / 0.9838 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001042/1.316, allocations: 0.5756 MB / 0.9843 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/1.316, allocations: 0 / 0.9843 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001526/1.318, allocations: 0.7348 MB / 0.9851 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.318, allocations: 9.688 kB / 0.9851 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/1.318, allocations: 1.031 kB / 0.9851 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/1.318, allocations: 2.75 kB / 0.9851 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/1.318, allocations: 125 kB / 0.9852 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.318, allocations: 4.938 kB / 0.9852 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.32, allocations: 123.5 kB / 0.9853 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/1.32, allocations: 26.47 kB / 0.9853 GB, free: 14.27 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.0002474/1.32, allocations: 202.3 kB / 0.9855 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.32, allocations: 104.9 kB / 0.9856 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/1.322, allocations: 0.8106 MB / 0.9864 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.322, allocations: 6.719 kB / 0.9864 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.322, allocations: 0 / 0.9864 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.322, allocations: 3.812 kB / 0.9864 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/1.325, allocations: 1.954 MB / 0.9883 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.325, allocations: 2.094 kB / 0.9883 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/1.325, allocations: 113.9 kB / 0.9885 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.325, allocations: 3.406 kB / 0.9885 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/1.325, allocations: 17.78 kB / 0.9885 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/1.325, allocations: 10.09 kB / 0.9885 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.326, allocations: 5.203 kB / 0.9885 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/1.327, allocations: 1.231 MB / 0.9897 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.328, allocations: 286.3 kB / 0.99 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.328, allocations: 18.83 kB / 0.99 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/1.329, allocations: 62.22 kB / 0.99 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.329, allocations: 48.55 kB / 0.9901 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/1.329, allocations: 20.7 kB / 0.9901 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001335/1.331, allocations: 0.9254 MB / 0.991 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/1.331, allocations: 3.094 kB / 0.991 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001182/1.332, allocations: 402.6 kB / 0.9914 GB, free: 13.01 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.0004868/1.332, allocations: 222.1 kB / 0.9916 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.334, allocations: 0.9404 MB / 0.9925 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.334, allocations: 0 / 0.9925 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/1.335, allocations: 336.7 kB / 0.9928 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.337, allocations: 437.1 kB / 0.9933 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.339, allocations: 1.725 MB / 0.9949 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/1.34, allocations: 1.041 MB / 0.996 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/1.34, allocations: 97.3 kB / 0.9961 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.34, allocations: 1.969 kB / 0.9961 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.02203/1.362, allocations: 16.24 MB / 1.012 GB, free: 8.355 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)