Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7711/0.7711, allocations: 143.4 MB / 159.2 MB, free: 4.836 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.001241/0.001241, allocations: 181.7 kB / 191.9 MB, free: 5.703 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.373/1.373, allocations: 222.9 MB / 447.3 MB, free: 5.867 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.001017/0.001017, allocations: 107.3 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 288.7 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 83.81 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5778/0.9108, allocations: 240.4 MB / 1.003 GB, free: 8.965 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.9347, allocations: 16.06 MB / 1.018 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/0.9388, allocations: 71.5 kB / 1.018 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.9427, allocations: 1.026 MB / 1.019 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.9555, allocations: 3.59 MB / 1.023 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.9605, allocations: 1.602 MB / 1.025 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00825/0.9688, allocations: 7.423 MB / 1.032 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.9713, allocations: 1.406 MB / 1.033 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005896/0.9772, allocations: 2.362 MB / 1.035 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.9812, allocations: 1.775 MB / 1.037 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.9816, allocations: 100 kB / 1.037 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006168/0.9878, allocations: 3.145 MB / 1.04 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009216/0.9887, allocations: 0.6971 MB / 1.041 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.9904, allocations: 1.069 MB / 1.042 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006329/0.9968, allocations: 3.637 MB / 1.046 GB, free: 460 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.9968, allocations: 0 / 1.046 GB, free: 460 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9968, allocations: 0 / 1.046 GB, free: 460 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.249e-05/0.9969, allocations: 0 / 1.046 GB, free: 460 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00501/1.002, allocations: 2.487 MB / 1.048 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.002, allocations: 8.031 kB / 1.048 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.005, allocations: 0.5087 MB / 1.049 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/1.007, allocations: 1.272 MB / 1.05 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.008, allocations: 170.2 kB / 1.05 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/1.008, allocations: 148 kB / 1.05 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/1.011, allocations: 1.745 MB / 1.052 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/1.011, allocations: 0 / 1.052 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/1.011, allocations: 60 kB / 1.052 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/1.011, allocations: 66.67 kB / 1.052 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/1.013, allocations: 1.369 MB / 1.053 GB, free: 8.414 MB / 0.6198 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.009079/1.022, allocations: 8.171 MB / 1.061 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.024, allocations: 0.9037 MB / 1.062 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/1.025, allocations: 0.5346 MB / 1.063 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005599/1.025, allocations: 320.3 kB / 1.063 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.025, allocations: 55.44 kB / 1.063 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=96): time 3.286e-06/1.025, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.006449/1.032, allocations: 3.112 MB / 1.066 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.032, allocations: 68.41 kB / 1.066 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/1.033, allocations: 1.254 MB / 1.067 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/1.033, allocations: 45.7 kB / 1.067 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/1.034, allocations: 0.8131 MB / 1.068 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/1.034, allocations: 366.8 kB / 1.069 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.034, allocations: 222.8 kB / 1.069 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.035, allocations: 349.9 kB / 1.069 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/1.035, allocations: 449.8 kB / 1.07 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.036, allocations: 0.8273 MB / 1.07 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.038, allocations: 1.252 MB / 1.072 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.038, allocations: 4 kB / 1.072 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002251/1.04, allocations: 1.401 MB / 1.073 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.04, allocations: 9.094 kB / 1.073 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.041, allocations: 12 kB / 1.073 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.041, allocations: 12 kB / 1.073 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.042, allocations: 279.5 kB / 1.073 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/1.042, allocations: 20.41 kB / 1.073 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.043, allocations: 166.1 kB / 1.073 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/1.043, allocations: 55.98 kB / 1.073 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001408/1.045, allocations: 0.764 MB / 1.074 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/1.046, allocations: 0.8196 MB / 1.075 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001892/1.048, allocations: 1.237 MB / 1.076 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.163e-06/1.048, allocations: 6.109 kB / 1.076 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002249/1.05, allocations: 1.386 MB / 1.078 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.05, allocations: 8 kB / 1.078 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.05, allocations: 12 kB / 1.078 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.05, allocations: 23.98 kB / 1.078 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.051, allocations: 267.6 kB / 1.078 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.051, allocations: 27.86 kB / 1.078 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.053, allocations: 166 kB / 1.078 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/1.053, allocations: 48 kB / 1.078 GB, free: 13.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003403/1.053, allocations: 276.8 kB / 1.078 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/1.053, allocations: 166 kB / 1.079 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/1.056, allocations: 1.146 MB / 1.08 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.056, allocations: 12 kB / 1.08 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.056, allocations: 0 / 1.08 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/1.057, allocations: 1.075 MB / 1.081 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/1.062, allocations: 2.77 MB / 1.083 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.062, allocations: 4 kB / 1.083 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.063, allocations: 244 kB / 1.084 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.063, allocations: 7.938 kB / 1.084 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/1.063, allocations: 31.98 kB / 1.084 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/1.063, allocations: 7.938 kB / 1.084 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.063, allocations: 0 / 1.084 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.078, allocations: 9.489 MB / 1.093 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/1.079, allocations: 331 kB / 1.093 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.079, allocations: 23.98 kB / 1.093 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.08, allocations: 141.4 kB / 1.093 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.081, allocations: 72.88 kB / 1.094 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/1.081, allocations: 39.92 kB / 1.094 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001016/1.082, allocations: 0.8383 MB / 1.094 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.082, allocations: 192 / 1.094 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004317/1.086, allocations: 1.332 MB / 1.096 GB, free: 11.11 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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.000584/1.087, allocations: 292.8 kB / 1.096 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003325/1.09, allocations: 1.724 MB / 1.098 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.09, allocations: 4 kB / 1.098 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009822/1.091, allocations: 0.5175 MB / 1.098 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/1.096, allocations: 0.9667 MB / 1.099 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/1.102, allocations: 4.732 MB / 1.104 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/1.103, allocations: 1.473 MB / 1.105 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002134/1.105, allocations: 0.5758 MB / 1.106 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.106, allocations: 131.4 kB / 1.106 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/1.106, allocations: 4 kB / 1.106 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of Templates: time 0.05476/1.161, allocations: 33.96 MB / 1.139 GB, free: 15.02 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)