Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.576/2.576, allocations: 287.9 MB / 302.9 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 180.8 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001911/0.00191, allocations: 90.44 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008277/0.0008279, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1723, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7764/0.9488, allocations: 183.3 MB / 1.158 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02902/0.9778, allocations: 11.18 MB / 1.169 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.982, allocations: 53.97 kB / 1.169 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.9879, allocations: 0.8857 MB / 1.17 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01721/1.005, allocations: 2.59 MB / 1.172 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/1.016, allocations: 1.568 MB / 1.174 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007549/1.023, allocations: 2.536 MB / 1.176 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/1.026, allocations: 1.297 MB / 1.177 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/1.031, allocations: 1.652 MB / 1.179 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/1.033, allocations: 0.9933 MB / 1.18 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003995/1.034, allocations: 76.12 kB / 1.18 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/1.038, allocations: 0.9664 MB / 1.181 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009972/1.039, allocations: 0.5382 MB / 1.181 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007668/1.039, allocations: 380.8 kB / 1.182 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004098/1.044, allocations: 2.136 MB / 1.184 GB, free: 256 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.54e-06/1.044, allocations: 2.438 kB / 1.184 GB, free: 256 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.247e-06/1.044, allocations: 0 / 1.184 GB, free: 256 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.199e-05/1.044, allocations: 0 / 1.184 GB, free: 256 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004242/1.048, allocations: 1.874 MB / 1.186 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.048, allocations: 14.19 kB / 1.186 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/1.052, allocations: 0.4986 MB / 1.186 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/1.055, allocations: 1.172 MB / 1.187 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.055, allocations: 114.4 kB / 1.188 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/1.056, allocations: 158.2 kB / 1.188 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/1.06, allocations: 1.728 MB / 1.189 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/1.06, allocations: 10.88 kB / 1.189 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.06, allocations: 60.19 kB / 1.189 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/1.06, allocations: 49.11 kB / 1.189 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/1.063, allocations: 1.385 MB / 1.191 GB, free: 11.74 MB / 0.7292 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.01312/1.076, allocations: 7.301 MB / 1.198 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/1.078, allocations: 1.013 MB / 1.199 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/1.079, allocations: 15.91 kB / 1.199 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.079, allocations: 56.84 kB / 1.199 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0017/1.08, allocations: 315.3 kB / 1.199 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=106): time 5.561e-06/1.08, allocations: 0 / 1.199 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=112): time 0.01039/1.091, allocations: 4.267 MB / 1.203 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.091, allocations: 176.3 kB / 1.204 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/1.093, allocations: 1.235 MB / 1.205 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/1.093, allocations: 57.64 kB / 1.205 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/1.094, allocations: 0.6929 MB / 1.206 GB, free: 156 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/1.095, allocations: 402.5 kB / 1.206 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/1.095, allocations: 28 kB / 1.206 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.095, allocations: 365.9 kB / 1.206 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.096, allocations: 0.5036 MB / 1.207 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/1.098, allocations: 0.8352 MB / 1.208 GB, free: 13.9 MB / 0.7448 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.111, allocations: 3.454 MB / 1.211 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.339e-06/1.111, allocations: 4 kB / 1.211 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003919/1.115, allocations: 1.588 MB / 1.213 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.115, allocations: 8 kB / 1.213 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/1.115, allocations: 13.34 kB / 1.213 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/1.115, allocations: 16 kB / 1.213 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.117, allocations: 291.5 kB / 1.213 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.459e-05/1.117, allocations: 23.92 kB / 1.213 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.119, allocations: 89.42 kB / 1.213 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.119, allocations: 55.98 kB / 1.213 GB, free: 8.316 MB / 0.7448 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001049/1.12, allocations: 430.9 kB / 1.213 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/1.121, allocations: 166 kB / 1.214 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/1.124, allocations: 1.263 MB / 1.215 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.124, allocations: 19.94 kB / 1.215 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.542e-06/1.124, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002268/1.126, allocations: 1.225 MB / 1.216 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/1.135, allocations: 3.73 MB / 1.22 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.135, allocations: 11.94 kB / 1.22 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.137, allocations: 256.5 kB / 1.22 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-05/1.137, allocations: 20 kB / 1.22 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.137, allocations: 39.98 kB / 1.22 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.538e-05/1.137, allocations: 19.94 kB / 1.22 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/1.137, allocations: 11.94 kB / 1.22 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/1.142, allocations: 2.859 MB / 1.223 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.143, allocations: 359 kB / 1.223 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/1.143, allocations: 31.98 kB / 1.223 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.145, allocations: 93.28 kB / 1.223 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.145, allocations: 108.3 kB / 1.223 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.145, allocations: 47.98 kB / 1.223 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001653/1.147, allocations: 0.8328 MB / 1.224 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.74e-07/1.147, allocations: 0 / 1.224 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002193/1.149, allocations: 428 kB / 1.225 GB, free: 11.51 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006697/1.15, allocations: 239.9 kB / 1.225 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002857/1.153, allocations: 1.204 MB / 1.226 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.153, allocations: 4 kB / 1.226 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.154, allocations: 0.5407 MB / 1.227 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005193/1.159, allocations: 0.8674 MB / 1.227 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/1.167, allocations: 3.998 MB / 1.231 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.169, allocations: 1.4 MB / 1.233 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002254/1.171, allocations: 385.2 kB / 1.233 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/1.172, allocations: 135.3 kB / 1.233 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of SimCode: time 1.702e-06/1.172, allocations: 0 / 1.233 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of Templates: time 0.06907/1.241, allocations: 27.75 MB / 1.26 GB, free: 7.086 MB / 0.7917 GB