Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001319/0.001319, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 290.1 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 99.48 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4437/0.5953, allocations: 187.8 MB / 0.865 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.609, allocations: 10.76 MB / 0.8755 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.6102, allocations: 39.75 kB / 0.8756 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.6114, allocations: 493 kB / 0.8761 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.6168, allocations: 2.595 MB / 0.8786 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.6219, allocations: 2.454 MB / 0.881 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.625, allocations: 2.765 MB / 0.8837 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.626, allocations: 0.782 MB / 0.8844 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.6273, allocations: 0.9964 MB / 0.8854 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.6288, allocations: 1.062 MB / 0.8865 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.629, allocations: 96 kB / 0.8865 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.6335, allocations: 3.005 MB / 0.8895 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.6339, allocations: 438.8 kB / 0.8899 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.6345, allocations: 0.5871 MB / 0.8905 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.638, allocations: 2.961 MB / 0.8934 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.638, allocations: 0 / 0.8934 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.638, allocations: 0 / 0.8934 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6381, allocations: 0 / 0.8934 GB, free: 5.473 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00299/0.641, allocations: 1.674 MB / 0.895 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6411, allocations: 15.97 kB / 0.895 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6429, allocations: 290.4 kB / 0.8953 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6442, allocations: 0.8313 MB / 0.8961 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.6443, allocations: 53.3 kB / 0.8962 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6444, allocations: 71.89 kB / 0.8962 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6458, allocations: 0.9921 MB / 0.8972 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6458, allocations: 0 / 0.8972 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.6459, allocations: 27.98 kB / 0.8972 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.514e-05/0.646, allocations: 69.95 kB / 0.8973 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6475, allocations: 1.011 MB / 0.8983 GB, free: 340 kB / 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.00533/0.6528, allocations: 3.582 MB / 0.9018 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/0.6538, allocations: 0.6503 MB / 0.9024 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.6543, allocations: 387.7 kB / 0.9028 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.6545, allocations: 202.7 kB / 0.903 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6546, allocations: 43.06 kB / 0.903 GB, free: 11.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 1.863e-06/0.6546, allocations: 0 / 0.903 GB, free: 11.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=62): time 0.001713/0.6563, allocations: 1.021 MB / 0.904 GB, free: 10.17 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.6564, allocations: 107.4 kB / 0.9041 GB, free: 10.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.6572, allocations: 0.8059 MB / 0.9049 GB, free: 9.227 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.6573, allocations: 41.64 kB / 0.9049 GB, free: 9.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.6576, allocations: 424.1 kB / 0.9053 GB, free: 8.758 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6578, allocations: 216.8 kB / 0.9055 GB, free: 8.543 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.658, allocations: 146.6 kB / 0.9057 GB, free: 8.395 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6581, allocations: 330 kB / 0.906 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.6586, allocations: 344.7 kB / 0.9063 GB, free: 7.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.6592, allocations: 464.7 kB / 0.9068 GB, free: 7.242 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6603, allocations: 0.7665 MB / 0.9075 GB, free: 6.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6603, allocations: 0 / 0.9075 GB, free: 6.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001376/0.6617, allocations: 0.9372 MB / 0.9084 GB, free: 5.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6617, allocations: 4 kB / 0.9084 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6617, allocations: 4 kB / 0.9084 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6617, allocations: 4 kB / 0.9085 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.6624, allocations: 155.7 kB / 0.9086 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6624, allocations: 5.562 kB / 0.9086 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.6631, allocations: 83.48 kB / 0.9087 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6632, allocations: 31.98 kB / 0.9087 GB, free: 5.219 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007253/0.6639, allocations: 0.5331 MB / 0.9092 GB, free: 4.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005748/0.6645, allocations: 454.4 kB / 0.9097 GB, free: 4.195 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000947/0.6654, allocations: 0.7303 MB / 0.9104 GB, free: 3.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.6654, allocations: 0 / 0.9104 GB, free: 3.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001287/0.6667, allocations: 0.8983 MB / 0.9113 GB, free: 2.523 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.6667, allocations: 14.38 kB / 0.9113 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6668, allocations: 0 / 0.9113 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.6668, allocations: 8 kB / 0.9113 GB, free: 2.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.6674, allocations: 147.8 kB / 0.9114 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6674, allocations: 4 kB / 0.9114 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.6681, allocations: 67.41 kB / 0.9115 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.6681, allocations: 28 kB / 0.9115 GB, free: 2.262 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0001872/0.6683, allocations: 216.1 kB / 0.9117 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.6685, allocations: 94.91 kB / 0.9118 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.6697, allocations: 0.8047 MB / 0.9126 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6697, allocations: 11.94 kB / 0.9126 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.6697, allocations: 0.875 kB / 0.9126 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009385/0.6707, allocations: 0.7439 MB / 0.9133 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.6736, allocations: 2.097 MB / 0.9154 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6736, allocations: 7.984 kB / 0.9154 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6742, allocations: 139.8 kB / 0.9155 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.6742, allocations: 4 kB / 0.9155 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.6743, allocations: 20.12 kB / 0.9155 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.6743, allocations: 11.94 kB / 0.9156 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6743, allocations: 4 kB / 0.9156 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.676, allocations: 1.356 MB / 0.9169 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.6764, allocations: 255.8 kB / 0.9171 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6765, allocations: 16 kB / 0.9171 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.677, allocations: 27.97 kB / 0.9172 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.6771, allocations: 52.27 kB / 0.9172 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.6772, allocations: 23.98 kB / 0.9172 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006265/0.6778, allocations: 0.5576 MB / 0.9178 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6778, allocations: 0 / 0.9178 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001514/0.6793, allocations: 0.745 MB / 0.9185 GB, free: 10.88 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.001074/0.6804, allocations: 0.5521 MB / 0.9191 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.6822, allocations: 1.19 MB / 0.9202 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6822, allocations: 0 / 0.9202 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.6827, allocations: 367.7 kB / 0.9206 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.6847, allocations: 0.5322 MB / 0.9211 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.6872, allocations: 1.906 MB / 0.923 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.6878, allocations: 1.073 MB / 0.924 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001015/0.6888, allocations: 413.6 kB / 0.9244 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.689, allocations: 71.44 kB / 0.9245 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/0.689, allocations: 4 kB / 0.9245 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of Templates: time 0.0318/0.7208, allocations: 22.83 MB / 0.9468 GB, free: 14.14 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)