Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110.6 kB / 15.99 MB, free: 6.348 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.001403/0.001403, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.265/1.265, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 277.5 kB / 291 MB, free: 14.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8814/0.8814, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 89.17 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1696, allocations: 86.97 MB / 0.6803 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4874/0.6571, allocations: 219.8 MB / 0.8949 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.6746, allocations: 12.04 MB / 0.9067 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.6776, allocations: 75.5 kB / 0.9067 GB, free: 7.387 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.6798, allocations: 0.7421 MB / 0.9075 GB, free: 6.641 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.687, allocations: 2.675 MB / 0.9101 GB, free: 3.957 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.6905, allocations: 1.304 MB / 0.9113 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005819/0.6963, allocations: 4.45 MB / 0.9157 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.6985, allocations: 1.694 MB / 0.9173 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005915/0.7044, allocations: 2.449 MB / 0.9197 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.7081, allocations: 1.638 MB / 0.9213 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003946/0.7085, allocations: 180 kB / 0.9215 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.713, allocations: 2.276 MB / 0.9237 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.7138, allocations: 0.7128 MB / 0.9244 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.7153, allocations: 1.05 MB / 0.9254 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.7189, allocations: 2.491 MB / 0.9279 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7189, allocations: 0 / 0.9279 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7189, allocations: 0 / 0.9279 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.7189, allocations: 0 / 0.9279 GB, free: 1.676 MB / 0.6856 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.003867/0.7228, allocations: 2.285 MB / 0.9301 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.7229, allocations: 12.03 kB / 0.9301 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.7259, allocations: 0.4933 MB / 0.9306 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.7279, allocations: 1.263 MB / 0.9318 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/0.728, allocations: 110.7 kB / 0.9319 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.7283, allocations: 147.9 kB / 0.9321 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.7309, allocations: 1.76 MB / 0.9338 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.7309, allocations: 4 kB / 0.9338 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.7311, allocations: 60 kB / 0.9339 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/0.7311, allocations: 50.48 kB / 0.9339 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.7332, allocations: 1.407 MB / 0.9353 GB, free: 9.852 MB / 0.7012 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.008468/0.7417, allocations: 7.3 MB / 0.9424 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.7433, allocations: 1.051 MB / 0.9434 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/0.7442, allocations: 0.6984 MB / 0.9441 GB, free: 380 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.7444, allocations: 114.2 kB / 0.9442 GB, free: 248 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.7444, allocations: 55.56 kB / 0.9443 GB, free: 184 kB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/0.7457, allocations: 319.9 kB / 0.9446 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 4.067e-06/0.7458, allocations: 0 / 0.9446 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.007957/0.7537, allocations: 4.434 MB / 0.9489 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.7538, allocations: 167.2 kB / 0.9491 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.7553, allocations: 1.267 MB / 0.9503 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.7555, allocations: 49.7 kB / 0.9504 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.756, allocations: 0.7006 MB / 0.951 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.7563, allocations: 398.2 kB / 0.9514 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.7567, allocations: 263.4 kB / 0.9517 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7569, allocations: 357.9 kB / 0.952 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.7576, allocations: 0.5309 MB / 0.9525 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/0.7586, allocations: 0.8553 MB / 0.9534 GB, free: 6.594 MB / 0.7169 GB 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) 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.7698, allocations: 4.813 MB / 0.9581 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.7698, allocations: 4 kB / 0.9581 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002509/0.7724, allocations: 1.616 MB / 0.9597 GB, free: 0 / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/1.054, allocations: 8.859 kB / 0.9597 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.054, allocations: 8.281 kB / 0.9597 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/1.054, allocations: 14.72 kB / 0.9597 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.055, allocations: 289.2 kB / 0.96 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.992e-05/1.055, allocations: 22.05 kB / 0.96 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.057, allocations: 112 kB / 0.9601 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.057, allocations: 57.7 kB / 0.9601 GB, free: 248.1 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007191/1.058, allocations: 426 kB / 0.9605 GB, free: 248 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/1.058, allocations: 166.7 kB / 0.9607 GB, free: 248 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.06, allocations: 1.287 MB / 0.962 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.06, allocations: 11.78 kB / 0.962 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.06, allocations: 10.53 kB / 0.962 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/1.062, allocations: 1.25 MB / 0.9632 GB, free: 247.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/1.067, allocations: 3.762 MB / 0.9669 GB, free: 245.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.067, allocations: 9.641 kB / 0.9669 GB, free: 245.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.069, allocations: 246.9 kB / 0.9671 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/1.069, allocations: 19.11 kB / 0.9671 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/1.069, allocations: 37.22 kB / 0.9672 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/1.069, allocations: 21.75 kB / 0.9672 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.069, allocations: 14.91 kB / 0.9672 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/1.071, allocations: 2.128 MB / 0.9693 GB, free: 244.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/1.072, allocations: 353.4 kB / 0.9696 GB, free: 244 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/1.072, allocations: 37.97 kB / 0.9697 GB, free: 244 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.073, allocations: 94.28 kB / 0.9698 GB, free: 244 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.074, allocations: 108.1 kB / 0.9699 GB, free: 243.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/1.074, allocations: 50.39 kB / 0.9699 GB, free: 243.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001135/1.075, allocations: 0.8493 MB / 0.9707 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/1.075, allocations: 4.938 kB / 0.9707 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001413/1.076, allocations: 432 kB / 0.9712 GB, free: 243.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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 (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.0004905/1.077, allocations: 243.4 kB / 0.9714 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002809/1.08, allocations: 1.425 MB / 0.9728 GB, free: 243 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.08, allocations: 3.281 kB / 0.9728 GB, free: 243 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/1.08, allocations: 0.5501 MB / 0.9733 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/1.085, allocations: 0.9337 MB / 0.9742 GB, free: 242.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/1.09, allocations: 4.098 MB / 0.9782 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/1.091, allocations: 1.37 MB / 0.9796 GB, free: 239.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/1.091, allocations: 139.5 kB / 0.9797 GB, free: 239.3 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/1.091, allocations: 0 / 0.9797 GB, free: 239.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.04052/1.132, allocations: 25.24 MB / 1.004 GB, free: 229.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)