Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001389/0.001389, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001417/0.001418, allocations: 193.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 63.77 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3136, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8603/1.174, allocations: 219.8 MB / 0.9975 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02328/1.197, allocations: 11.97 MB / 1.009 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005671/1.203, allocations: 62.81 kB / 1.009 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/1.206, allocations: 0.7344 MB / 1.01 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/1.217, allocations: 2.674 MB / 1.013 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/1.221, allocations: 1.282 MB / 1.014 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007068/1.228, allocations: 4.402 MB / 1.018 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/1.231, allocations: 1.665 MB / 1.02 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00833/1.239, allocations: 2.434 MB / 1.022 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00549/1.245, allocations: 1.637 MB / 1.024 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006193/1.245, allocations: 178.5 kB / 1.024 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007331/1.253, allocations: 2.267 MB / 1.026 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/1.254, allocations: 0.706 MB / 1.027 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003552/1.258, allocations: 1.046 MB / 1.028 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009057/1.267, allocations: 3.415 MB / 1.031 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/1.267, allocations: 0 / 1.031 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.007e-06/1.267, allocations: 0 / 1.031 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001918/1.267, allocations: 2.281 kB / 1.031 GB, free: 8.668 MB / 0.7481 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.00784/1.275, allocations: 2.264 MB / 1.033 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.275, allocations: 14.73 kB / 1.033 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/1.279, allocations: 496.7 kB / 1.034 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/1.283, allocations: 1.243 MB / 1.035 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/1.283, allocations: 115.3 kB / 1.035 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/1.284, allocations: 156.6 kB / 1.035 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/1.288, allocations: 1.753 MB / 1.037 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/1.288, allocations: 5.406 kB / 1.037 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/1.289, allocations: 60.61 kB / 1.037 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.372e-05/1.289, allocations: 58.86 kB / 1.037 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/1.291, allocations: 1.399 MB / 1.039 GB, free: 3.883 MB / 0.7481 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.01239/1.304, allocations: 7.262 MB / 1.046 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.306, allocations: 1.027 MB / 1.047 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/1.307, allocations: 0.6994 MB / 1.047 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/1.307, allocations: 114.7 kB / 1.047 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/1.307, allocations: 45.12 kB / 1.047 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001855/1.309, allocations: 320 kB / 1.048 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 9.988e-06/1.309, allocations: 0 / 1.048 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.01225/1.322, allocations: 4.425 MB / 1.052 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.322, allocations: 171.5 kB / 1.052 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/1.325, allocations: 1.246 MB / 1.053 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/1.325, allocations: 49.7 kB / 1.054 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/1.326, allocations: 0.6902 MB / 1.054 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/1.326, allocations: 407.9 kB / 1.055 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/1.327, allocations: 267.3 kB / 1.055 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.327, allocations: 353.9 kB / 1.055 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.328, allocations: 0.527 MB / 1.056 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/1.329, allocations: 0.8547 MB / 1.057 GB, free: 5.309 MB / 0.7637 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.01221/1.342, allocations: 4.789 MB / 1.061 GB, free: 372 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.342, allocations: 11.88 kB / 1.061 GB, free: 360 kB / 0.7637 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003191/1.345, allocations: 1.615 MB / 1.063 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.345, allocations: 8 kB / 1.063 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/1.345, allocations: 9.5 kB / 1.063 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.464e-05/1.345, allocations: 12.72 kB / 1.063 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.346, allocations: 295.5 kB / 1.063 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.881e-05/1.346, allocations: 27.88 kB / 1.063 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/1.349, allocations: 91.69 kB / 1.063 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/1.349, allocations: 59.98 kB / 1.063 GB, free: 14.24 MB / 0.7794 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.001458/1.35, allocations: 428.4 kB / 1.064 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008531/1.351, allocations: 158.1 kB / 1.064 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/1.354, allocations: 1.298 MB / 1.065 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.354, allocations: 15.98 kB / 1.065 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.354, allocations: 3.938 kB / 1.065 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/1.356, allocations: 1.241 MB / 1.066 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/1.364, allocations: 3.75 MB / 1.07 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.364, allocations: 8.938 kB / 1.07 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.365, allocations: 255.6 kB / 1.07 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.827e-05/1.365, allocations: 23.94 kB / 1.07 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/1.365, allocations: 32 kB / 1.07 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.689e-05/1.365, allocations: 27.86 kB / 1.07 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/1.365, allocations: 15.94 kB / 1.07 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/1.369, allocations: 2.218 MB / 1.072 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.37, allocations: 363 kB / 1.073 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.371, allocations: 35.94 kB / 1.073 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.372, allocations: 87.78 kB / 1.073 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.373, allocations: 104.3 kB / 1.073 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.373, allocations: 55.98 kB / 1.073 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001437/1.374, allocations: 0.8406 MB / 1.074 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/1.374, allocations: 0 / 1.074 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001946/1.376, allocations: 432 kB / 1.074 GB, free: 2.441 MB / 0.7794 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 (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.0006734/1.377, allocations: 240.2 kB / 1.075 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.38, allocations: 1.433 MB / 1.076 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.38, allocations: 0 / 1.076 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008449/1.381, allocations: 0.5555 MB / 1.077 GB, free: 232 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/1.386, allocations: 0.9188 MB / 1.077 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/1.394, allocations: 3.986 MB / 1.081 GB, free: 11.19 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.396, allocations: 1.372 MB / 1.083 GB, free: 9.781 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002229/1.398, allocations: 381.2 kB / 1.083 GB, free: 9.402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/1.399, allocations: 131.4 kB / 1.083 GB, free: 9.273 MB / 0.795 GB Notification: Performance of SimCode: time 1.202e-06/1.399, allocations: 0 / 1.083 GB, free: 9.273 MB / 0.795 GB Notification: Performance of Templates: time 0.0581/1.457, allocations: 30.27 MB / 1.113 GB, free: 11.44 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)