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: 108 kB / 15.61 MB, free: 152 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.001855/0.001855, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.606/1.606, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.795/1.795, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.00149/0.00149, allocations: 73.77 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8172/1.115, allocations: 222.6 MB / 1.001 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02061/1.135, allocations: 12.06 MB / 1.012 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004849/1.14, allocations: 70.72 kB / 1.013 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003554/1.144, allocations: 0.8548 MB / 1.013 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009733/1.154, allocations: 2.847 MB / 1.016 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/1.158, allocations: 1.414 MB / 1.018 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007711/1.166, allocations: 4.401 MB / 1.022 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/1.169, allocations: 1.682 MB / 1.023 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007344/1.177, allocations: 2.456 MB / 1.026 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004213/1.181, allocations: 1.544 MB / 1.027 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005531/1.182, allocations: 181.3 kB / 1.028 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006283/1.188, allocations: 2.162 MB / 1.03 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.189, allocations: 0.701 MB / 1.03 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/1.192, allocations: 1.041 MB / 1.031 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007681/1.2, allocations: 3.268 MB / 1.035 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/1.2, allocations: 2.594 kB / 1.035 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.154e-06/1.2, allocations: 0 / 1.035 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.071e-05/1.2, allocations: 0 / 1.035 GB, free: 3.496 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.004837/1.205, allocations: 2.279 MB / 1.037 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.205, allocations: 7.188 kB / 1.037 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/1.208, allocations: 0.4916 MB / 1.037 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.211, allocations: 1.23 MB / 1.038 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/1.211, allocations: 112.6 kB / 1.039 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/1.211, allocations: 149.6 kB / 1.039 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/1.214, allocations: 1.752 MB / 1.04 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/1.214, allocations: 10.16 kB / 1.04 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.215, allocations: 66.8 kB / 1.041 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/1.215, allocations: 54 kB / 1.041 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/1.217, allocations: 1.391 MB / 1.042 GB, free: 14.48 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.01093/1.228, allocations: 7.316 MB / 1.049 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.23, allocations: 1.026 MB / 1.05 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.231, allocations: 0.6906 MB / 1.051 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/1.231, allocations: 114.2 kB / 1.051 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/1.231, allocations: 59.48 kB / 1.051 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001545/1.233, allocations: 306.5 kB / 1.051 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 5.941e-06/1.233, allocations: 0 / 1.051 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.009023/1.242, allocations: 4.413 MB / 1.056 GB, free: 16 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.242, allocations: 171.2 kB / 1.056 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/1.244, allocations: 1.25 MB / 1.057 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/1.244, allocations: 53.7 kB / 1.057 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/1.244, allocations: 0.7007 MB / 1.058 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/1.245, allocations: 402.2 kB / 1.058 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/1.245, allocations: 263.3 kB / 1.058 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.245, allocations: 353.9 kB / 1.059 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/1.246, allocations: 0.5231 MB / 1.059 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.247, allocations: 0.8547 MB / 1.06 GB, free: 11.27 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.01192/1.259, allocations: 4.796 MB / 1.065 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.259, allocations: 0 / 1.065 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002871/1.262, allocations: 1.615 MB / 1.066 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.262, allocations: 9 kB / 1.066 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.262, allocations: 9.25 kB / 1.066 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.262, allocations: 20 kB / 1.066 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.263, allocations: 287.5 kB / 1.067 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.085e-05/1.263, allocations: 23.88 kB / 1.067 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.265, allocations: 51.83 kB / 1.067 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.265, allocations: 63.97 kB / 1.067 GB, free: 4.238 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.0008714/1.266, allocations: 427.7 kB / 1.067 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/1.267, allocations: 158.1 kB / 1.067 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/1.269, allocations: 1.29 MB / 1.068 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.269, allocations: 12 kB / 1.068 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.269, allocations: 8.562 kB / 1.068 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001574/1.27, allocations: 1.237 MB / 1.07 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/1.276, allocations: 3.758 MB / 1.073 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.276, allocations: 12 kB / 1.073 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.278, allocations: 252.9 kB / 1.074 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.834e-05/1.278, allocations: 23.88 kB / 1.074 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/1.278, allocations: 36 kB / 1.074 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/1.278, allocations: 23.92 kB / 1.074 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-05/1.278, allocations: 11.94 kB / 1.074 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.281, allocations: 2.214 MB / 1.076 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.282, allocations: 355 kB / 1.076 GB, free: 9.977 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.283, allocations: 43.92 kB / 1.076 GB, free: 9.934 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.284, allocations: 51.25 kB / 1.076 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.284, allocations: 104.3 kB / 1.076 GB, free: 9.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/1.284, allocations: 47.98 kB / 1.076 GB, free: 9.738 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001268/1.286, allocations: 0.8445 MB / 1.077 GB, free: 8.895 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/1.286, allocations: 0 / 1.077 GB, free: 8.895 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001887/1.288, allocations: 436 kB / 1.078 GB, free: 8.469 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.000582/1.288, allocations: 237.8 kB / 1.078 GB, free: 8.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002623/1.291, allocations: 1.43 MB / 1.079 GB, free: 6.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.291, allocations: 4 kB / 1.079 GB, free: 6.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/1.292, allocations: 0.5484 MB / 1.08 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/1.296, allocations: 0.9364 MB / 1.081 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/1.302, allocations: 3.403 MB / 1.084 GB, free: 1.781 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.303, allocations: 1.38 MB / 1.085 GB, free: 376 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001857/1.305, allocations: 377.3 kB / 1.086 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.306, allocations: 123.4 kB / 1.086 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/1.306, allocations: 4 kB / 1.086 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.05204/1.358, allocations: 30.42 MB / 1.116 GB, free: 1.848 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)