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.001133/0.001133, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001155/0.001155, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 286.4 kB / 291.4 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 0.9185/0.9185, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 94.91 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1713, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.456/0.6273, allocations: 189.7 MB / 0.8668 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.6351, allocations: 4.279 MB / 0.871 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.6365, allocations: 27.81 kB / 0.871 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.6378, allocations: 0.5045 MB / 0.8715 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.6413, allocations: 1.556 MB / 0.873 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.6443, allocations: 1.346 MB / 0.8744 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.6469, allocations: 2.272 MB / 0.8766 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6481, allocations: 1.085 MB / 0.8776 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.6493, allocations: 0.9499 MB / 0.8786 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.6503, allocations: 0.8716 MB / 0.8794 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.6504, allocations: 140 kB / 0.8795 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.6524, allocations: 1.239 MB / 0.8808 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.6528, allocations: 430.7 kB / 0.8812 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.6534, allocations: 0.6453 MB / 0.8818 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.6556, allocations: 1.979 MB / 0.8837 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6556, allocations: 4 kB / 0.8837 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6556, allocations: 0 / 0.8837 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.6556, allocations: 0 / 0.8837 GB, free: 15.38 MB / 0.6544 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.00417/0.6598, allocations: 1.728 MB / 0.8854 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6598, allocations: 8.031 kB / 0.8854 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.6607, allocations: 189.6 kB / 0.8856 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.6625, allocations: 1.065 MB / 0.8866 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.6625, allocations: 41 kB / 0.8867 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6626, allocations: 59.94 kB / 0.8867 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.6637, allocations: 0.6192 MB / 0.8873 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6637, allocations: 0 / 0.8873 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.6638, allocations: 23.94 kB / 0.8874 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.6638, allocations: 17 kB / 0.8874 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.6651, allocations: 0.6324 MB / 0.888 GB, free: 10.89 MB / 0.6544 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.0038/0.6689, allocations: 2.65 MB / 0.8906 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.6699, allocations: 0.5412 MB / 0.8911 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.6705, allocations: 354.1 kB / 0.8915 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.6709, allocations: 287.2 kB / 0.8917 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.671, allocations: 50.42 kB / 0.8918 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006027/0.6716, allocations: 143.5 kB / 0.8919 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.6716, allocations: 0 / 0.8919 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002165/0.6737, allocations: 1.017 MB / 0.8929 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.6738, allocations: 55.41 kB / 0.893 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.6756, allocations: 1.275 MB / 0.8942 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.6756, allocations: 41.7 kB / 0.8942 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.676, allocations: 429.7 kB / 0.8947 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6761, allocations: 149.8 kB / 0.8948 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.6763, allocations: 118 kB / 0.8949 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.6764, allocations: 322 kB / 0.8952 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.6769, allocations: 274.2 kB / 0.8955 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.6777, allocations: 490.2 kB / 0.896 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6788, allocations: 0.5831 MB / 0.8965 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6788, allocations: 0 / 0.8965 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0014/0.6802, allocations: 0.7415 MB / 0.8972 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6802, allocations: 4 kB / 0.8972 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6802, allocations: 0 / 0.8972 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6802, allocations: 4 kB / 0.8973 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.6809, allocations: 123.8 kB / 0.8974 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6809, allocations: 3.938 kB / 0.8974 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.682, allocations: 101 kB / 0.8975 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.682, allocations: 23.97 kB / 0.8975 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000729/0.6828, allocations: 471.9 kB / 0.8979 GB, free: 352 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000713/0.6835, allocations: 473.9 kB / 0.8984 GB, free: 15.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/0.6846, allocations: 0.5835 MB / 0.899 GB, free: 15.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.6846, allocations: 0 / 0.899 GB, free: 15.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001475/0.6861, allocations: 0.7382 MB / 0.8997 GB, free: 14.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6861, allocations: 11.94 kB / 0.8997 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6861, allocations: 0 / 0.8997 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.6861, allocations: 0 / 0.8997 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.6867, allocations: 124.9 kB / 0.8998 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.6867, allocations: 7.938 kB / 0.8998 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.6879, allocations: 117.8 kB / 0.8999 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.688, allocations: 27.97 kB / 0.9 GB, free: 14.19 MB / 0.67 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.0001942/0.6882, allocations: 207.9 kB / 0.9002 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.6884, allocations: 106.6 kB / 0.9003 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.69, allocations: 0.8117 MB / 0.9011 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.69, allocations: 4 kB / 0.9011 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.69, allocations: 3.938 kB / 0.9011 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.69, allocations: 0 / 0.9011 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.6931, allocations: 1.956 MB / 0.903 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6931, allocations: 4.875 kB / 0.903 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.6936, allocations: 107.9 kB / 0.9031 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6937, allocations: 4 kB / 0.9031 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.6937, allocations: 8 kB / 0.9031 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.6937, allocations: 7.938 kB / 0.9031 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6937, allocations: 12.22 kB / 0.9031 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6957, allocations: 1.236 MB / 0.9043 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.6962, allocations: 295.5 kB / 0.9046 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6963, allocations: 12 kB / 0.9046 GB, free: 9.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/0.6972, allocations: 63.92 kB / 0.9047 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6974, allocations: 43.94 kB / 0.9047 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.6974, allocations: 16 kB / 0.9047 GB, free: 9.156 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001395/0.6988, allocations: 0.9247 MB / 0.9056 GB, free: 8.223 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.665e-06/0.6988, allocations: 0 / 0.9056 GB, free: 8.223 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001149/0.7, allocations: 407.3 kB / 0.906 GB, free: 7.824 MB / 0.67 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.0004597/0.7004, allocations: 221.4 kB / 0.9062 GB, free: 7.609 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.7023, allocations: 0.9446 MB / 0.9072 GB, free: 6.664 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7023, allocations: 4 kB / 0.9072 GB, free: 6.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.7029, allocations: 339.6 kB / 0.9075 GB, free: 6.328 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.7047, allocations: 430 kB / 0.9079 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.707, allocations: 1.679 MB / 0.9095 GB, free: 4.168 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7076, allocations: 1.045 MB / 0.9106 GB, free: 3.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008664/0.7085, allocations: 283.1 kB / 0.9108 GB, free: 2.805 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.7088, allocations: 99.38 kB / 0.9109 GB, free: 2.707 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.7088, allocations: 0 / 0.9109 GB, free: 2.707 MB / 0.67 GB Notification: Performance of Templates: time 0.03509/0.7439, allocations: 21.28 MB / 0.9317 GB, free: 13.7 MB / 0.7012 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)