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.00111/0.00111, allocations: 100.2 kB / 16.29 MB, free: 6.43 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.00116/0.00116, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.958/1.958, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001611/0.001612, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.283, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7494/1.032, allocations: 222.6 MB / 1.001 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01856/1.051, allocations: 12.05 MB / 1.013 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/1.054, allocations: 67.62 kB / 1.013 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/1.056, allocations: 0.8577 MB / 1.014 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/1.067, allocations: 2.847 MB / 1.017 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/1.072, allocations: 1.426 MB / 1.018 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006902/1.079, allocations: 4.401 MB / 1.023 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/1.082, allocations: 1.701 MB / 1.024 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00717/1.089, allocations: 2.452 MB / 1.027 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/1.093, allocations: 1.549 MB / 1.028 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/1.093, allocations: 183.9 kB / 1.028 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/1.099, allocations: 2.163 MB / 1.03 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/1.1, allocations: 0.7012 MB / 1.031 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/1.102, allocations: 1.038 MB / 1.032 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006188/1.108, allocations: 3.322 MB / 1.035 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.108, allocations: 0 / 1.035 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/1.108, allocations: 0 / 1.035 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.637e-05/1.108, allocations: 0 / 1.035 GB, free: 8.957 MB / 0.8262 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.004173/1.112, allocations: 2.265 MB / 1.038 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.112, allocations: 8.031 kB / 1.038 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/1.115, allocations: 0.4933 MB / 1.038 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/1.118, allocations: 1.227 MB / 1.039 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/1.118, allocations: 110.7 kB / 1.039 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.118, allocations: 155.9 kB / 1.04 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/1.121, allocations: 1.753 MB / 1.041 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/1.121, allocations: 11.92 kB / 1.041 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/1.121, allocations: 60 kB / 1.041 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-05/1.121, allocations: 58.47 kB / 1.041 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/1.124, allocations: 1.395 MB / 1.043 GB, free: 1.195 MB / 0.8262 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.009088/1.133, allocations: 7.26 MB / 1.05 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/1.134, allocations: 1.034 MB / 1.051 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009352/1.135, allocations: 0.6945 MB / 1.051 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/1.136, allocations: 114.1 kB / 1.052 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/1.136, allocations: 55.5 kB / 1.052 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/1.137, allocations: 298.8 kB / 1.052 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=106): time 4.509e-06/1.137, allocations: 0 / 1.052 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=112): time 0.008159/1.145, allocations: 4.419 MB / 1.056 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/1.145, allocations: 175.1 kB / 1.056 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.147, allocations: 1.246 MB / 1.058 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.147, allocations: 53.7 kB / 1.058 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/1.147, allocations: 0.7005 MB / 1.058 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/1.148, allocations: 394.2 kB / 1.059 GB, free: 164 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/1.148, allocations: 263.4 kB / 1.059 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.148, allocations: 361.9 kB / 1.059 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/1.149, allocations: 0.5192 MB / 1.06 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.15, allocations: 0.8469 MB / 1.061 GB, free: 14.05 MB / 0.8575 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.01147/1.162, allocations: 4.792 MB / 1.065 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.162, allocations: 2.25 kB / 1.065 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002774/1.165, allocations: 1.607 MB / 1.067 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.165, allocations: 15.19 kB / 1.067 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.165, allocations: 8 kB / 1.067 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/1.165, allocations: 16 kB / 1.067 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.166, allocations: 299.5 kB / 1.067 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/1.166, allocations: 23.88 kB / 1.067 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.167, allocations: 51.88 kB / 1.067 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.167, allocations: 55.98 kB / 1.067 GB, free: 7.023 MB / 0.8575 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.0007645/1.168, allocations: 425.2 kB / 1.068 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/1.168, allocations: 162.1 kB / 1.068 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/1.171, allocations: 1.294 MB / 1.069 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.171, allocations: 16.03 kB / 1.069 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.171, allocations: 11.92 kB / 1.069 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/1.172, allocations: 1.233 MB / 1.07 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/1.179, allocations: 3.753 MB / 1.074 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.179, allocations: 8.969 kB / 1.074 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.18, allocations: 255.6 kB / 1.074 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/1.18, allocations: 25.5 kB / 1.074 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.18, allocations: 36 kB / 1.074 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/1.18, allocations: 19.92 kB / 1.074 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/1.18, allocations: 15.94 kB / 1.074 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/1.183, allocations: 2.215 MB / 1.077 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/1.184, allocations: 362.9 kB / 1.077 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/1.184, allocations: 32 kB / 1.077 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.185, allocations: 49.06 kB / 1.077 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.186, allocations: 104.3 kB / 1.077 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.186, allocations: 51.98 kB / 1.077 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001303/1.187, allocations: 0.8484 MB / 1.078 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/1.187, allocations: 0 / 1.078 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001514/1.189, allocations: 428 kB / 1.078 GB, free: 11.26 MB / 0.8731 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.0006167/1.189, allocations: 240.2 kB / 1.079 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002297/1.191, allocations: 1.246 MB / 1.08 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.191, allocations: 4.625 kB / 1.08 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/1.192, allocations: 0.5555 MB / 1.08 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.197, allocations: 0.9287 MB / 1.081 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/1.202, allocations: 3.363 MB / 1.085 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.204, allocations: 1.368 MB / 1.086 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001492/1.205, allocations: 385.9 kB / 1.086 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/1.206, allocations: 131.4 kB / 1.086 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.206, allocations: 0 / 1.086 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.05292/1.259, allocations: 30.4 MB / 1.116 GB, free: 5.043 MB / 0.9044 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)