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.001309/0.001309, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 188.4 kB / 16.62 MB, free: 6.613 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.775/1.775, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001484/0.001485, allocations: 71.94 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3418, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.013/1.355, allocations: 222.6 MB / 1.001 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0196/1.374, allocations: 12.05 MB / 1.013 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/1.379, allocations: 72.38 kB / 1.013 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/1.382, allocations: 0.8633 MB / 1.014 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/1.392, allocations: 2.845 MB / 1.017 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005294/1.398, allocations: 1.423 MB / 1.018 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008186/1.406, allocations: 4.401 MB / 1.023 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/1.409, allocations: 1.7 MB / 1.024 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/1.416, allocations: 2.452 MB / 1.027 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/1.419, allocations: 1.541 MB / 1.028 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005172/1.42, allocations: 179 kB / 1.028 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005291/1.425, allocations: 2.172 MB / 1.03 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008351/1.426, allocations: 0.6981 MB / 1.031 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/1.428, allocations: 1.045 MB / 1.032 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/1.434, allocations: 3.314 MB / 1.035 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.434, allocations: 0 / 1.035 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.904e-06/1.434, allocations: 0 / 1.035 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.814e-05/1.434, allocations: 0 / 1.035 GB, free: 2.809 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.004121/1.438, allocations: 2.267 MB / 1.038 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.438, allocations: 10.16 kB / 1.038 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/1.441, allocations: 0.4933 MB / 1.038 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.444, allocations: 1.317 MB / 1.039 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/1.444, allocations: 112.8 kB / 1.039 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/1.444, allocations: 149.9 kB / 1.04 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/1.447, allocations: 1.759 MB / 1.041 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/1.447, allocations: 6.438 kB / 1.041 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/1.447, allocations: 58.88 kB / 1.041 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/1.447, allocations: 49.95 kB / 1.041 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/1.449, allocations: 1.398 MB / 1.043 GB, free: 13.76 MB / 0.7637 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.008706/1.458, allocations: 7.264 MB / 1.05 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.459, allocations: 1.029 MB / 1.051 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.46, allocations: 0.7023 MB / 1.052 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/1.461, allocations: 114.2 kB / 1.052 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.067e-05/1.461, allocations: 52.12 kB / 1.052 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001493/1.462, allocations: 302.5 kB / 1.052 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 5.631e-06/1.462, allocations: 0 / 1.052 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.00846/1.471, allocations: 4.422 MB / 1.056 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/1.471, allocations: 171.2 kB / 1.057 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.472, allocations: 1.254 MB / 1.058 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/1.472, allocations: 45.7 kB / 1.058 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/1.473, allocations: 0.6967 MB / 1.058 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/1.473, allocations: 394.2 kB / 1.059 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/1.474, allocations: 267.3 kB / 1.059 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.474, allocations: 358 kB / 1.059 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/1.475, allocations: 0.527 MB / 1.06 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.476, allocations: 0.8508 MB / 1.061 GB, free: 10.59 MB / 0.7794 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.01143/1.488, allocations: 4.778 MB / 1.065 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.488, allocations: 4 kB / 1.065 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002771/1.49, allocations: 1.616 MB / 1.067 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.49, allocations: 11.12 kB / 1.067 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.49, allocations: 8 kB / 1.067 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/1.491, allocations: 19.94 kB / 1.067 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.492, allocations: 296.7 kB / 1.067 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/1.492, allocations: 23.86 kB / 1.067 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.493, allocations: 43.98 kB / 1.067 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.493, allocations: 60.17 kB / 1.067 GB, free: 3.582 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.0008283/1.494, allocations: 429.3 kB / 1.068 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/1.494, allocations: 166.1 kB / 1.068 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/1.497, allocations: 1.286 MB / 1.069 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/1.497, allocations: 12 kB / 1.069 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.497, allocations: 3.938 kB / 1.069 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/1.498, allocations: 1.248 MB / 1.071 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/1.504, allocations: 3.754 MB / 1.074 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.504, allocations: 8 kB / 1.074 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.506, allocations: 255.6 kB / 1.074 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/1.506, allocations: 19.94 kB / 1.074 GB, free: 12.13 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/1.506, allocations: 35.98 kB / 1.075 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/1.506, allocations: 23.88 kB / 1.075 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.506, allocations: 15.94 kB / 1.075 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.509, allocations: 2.218 MB / 1.077 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008154/1.51, allocations: 358.9 kB / 1.077 GB, free: 9.305 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.51, allocations: 35.98 kB / 1.077 GB, free: 9.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.511, allocations: 51.27 kB / 1.077 GB, free: 9.223 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.511, allocations: 100.3 kB / 1.077 GB, free: 9.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/1.511, allocations: 51.98 kB / 1.077 GB, free: 9.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001177/1.512, allocations: 0.8406 MB / 1.078 GB, free: 8.234 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/1.512, allocations: 0 / 1.078 GB, free: 8.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001558/1.514, allocations: 436 kB / 1.079 GB, free: 7.809 MB / 0.795 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.0005746/1.514, allocations: 252 kB / 1.079 GB, free: 7.562 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.517, allocations: 1.254 MB / 1.08 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.517, allocations: 4 kB / 1.08 GB, free: 6.309 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/1.517, allocations: 0.5526 MB / 1.081 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.521, allocations: 0.9254 MB / 1.081 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/1.527, allocations: 3.352 MB / 1.085 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009698/1.528, allocations: 1.372 MB / 1.086 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001489/1.529, allocations: 385.2 kB / 1.086 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.529, allocations: 123.4 kB / 1.087 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/1.529, allocations: 0 / 1.087 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.05202/1.581, allocations: 30.4 MB / 1.116 GB, free: 1.434 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)